Private
Public Access
1
0

adding interactive plot to tests

This commit is contained in:
Sander Roosendaal
2019-01-14 11:15:31 +01:00
parent c3f26aece9
commit 7e977ab659
5 changed files with 12 additions and 4 deletions

View File

@@ -71,7 +71,8 @@ class ViewTest(TestCase):
self.assertEqual(response.status_code, 200)
@patch('rowers.dataprep.create_engine')
def test_upload_view_sled(self, mocked_sqlalchemy):
@patch('rowers.dataprep.getsmallrowdata_db',side_effect=mocked_getsmallrowdata_db)
def test_upload_view_sled(self, mocked_sqlalchemy,mocked_getsmallrowdata_db):
login = self.c.login(username='john',password='koeinsloot')
self.assertTrue(login)