Private
Public Access
1
0

Merge branch 'develop' into feature/testcoverage

This commit is contained in:
Sander Roosendaal
2021-01-16 11:04:36 +01:00
6 changed files with 16 additions and 2525 deletions

View File

@@ -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')