Merge branch 'develop' into feature/testcoverage
This commit is contained in:
@@ -260,13 +260,15 @@ class URLTests(TestCase):
|
||||
@patch('requests.get',side_effect=mocked_requests)
|
||||
@patch('requests.post',side_effect=mocked_requests)
|
||||
@patch('rowers.dataprep.get_video_data',side_effect=mocked_get_video_data)
|
||||
@patch('rowers.views.statements.sendmail',side_effect=mocked_sendmail)
|
||||
def test_url_generator(self,url,expected,
|
||||
mocked_sqlalchemy,
|
||||
mocked_read_df_sql,
|
||||
mocked_getsmallrowdata_db,
|
||||
mock_get,
|
||||
mock_post,
|
||||
mocked_get_video_data):
|
||||
mocked_get_video_data,
|
||||
mocked_sendmail):
|
||||
|
||||
if url not in tested:
|
||||
login = self.c.login(username='john',password='koeinsloot')
|
||||
|
||||
Reference in New Issue
Block a user