fixing tests coverage by creating tests of new functionality
This commit is contained in:
@@ -820,6 +820,13 @@ class WorkoutViewTest(TestCase):
|
||||
response = self.c.get(url)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
form_data = {
|
||||
'ruptures':'ruptures',
|
||||
}
|
||||
|
||||
response = self.c.post(url,form_data)
|
||||
self.assertEqual(response.status_code,200)
|
||||
|
||||
form_data = {
|
||||
'intervalstring':'4x2min/1min',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user