From 904882c9e3414b2adf989858b1b4e37d850377d0 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 13 Jan 2021 08:54:58 +0100 Subject: [PATCH] also test post to mini --- rowers/tests/test_aworkouts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rowers/tests/test_aworkouts.py b/rowers/tests/test_aworkouts.py index 14266e9f..96bcabab 100644 --- a/rowers/tests/test_aworkouts.py +++ b/rowers/tests/test_aworkouts.py @@ -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')