also test post to mini
This commit is contained in:
@@ -584,6 +584,7 @@ class WorkoutViewTest(TestCase):
|
||||
'delay': -119,
|
||||
'groups': ['basic'],
|
||||
'name': 'Video A',
|
||||
'save_button': 'Save',
|
||||
}
|
||||
|
||||
response = self.c.post(url2,form_data)
|
||||
@@ -593,6 +594,9 @@ class WorkoutViewTest(TestCase):
|
||||
response = self.c.get(url)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
response = self.c.post(url,form_data)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
|
||||
@patch('rowers.dataprep.create_engine')
|
||||
@patch('rowers.dataprep.getsmallrowdata_db')
|
||||
|
||||
Reference in New Issue
Block a user