no changes, really
This commit is contained in:
@@ -112,15 +112,17 @@ class ModelObjectsTest(TestCase):
|
|||||||
gdproptin=True)
|
gdproptin=True)
|
||||||
|
|
||||||
self.c = Client()
|
self.c = Client()
|
||||||
|
self.user_workouts = WorkoutFactory.create_batch(5, user=self.r)
|
||||||
|
|
||||||
def test_workouts_compare(self):
|
def test_workouts_compare(self):
|
||||||
user_workouts = WorkoutFactory.create_batch(5, user=self.r)
|
self.c.login(username=self.u.username,password=self.u.password)
|
||||||
|
|
||||||
url = '/rowers/team-compare-select/workout/1/team/0/user/1/'
|
url = '/rowers/team-compare-select/workout/1/team/0/user/1/'
|
||||||
|
|
||||||
response = self.c.get(url,follow=True)
|
response = self.c.get(url,follow=True)
|
||||||
self.assertEqual(response.status_code,200)
|
self.assertEqual(response.status_code,200)
|
||||||
|
|
||||||
|
def test_workouts_compare_submit(self):
|
||||||
form_data = {
|
form_data = {
|
||||||
'chartform':'Compare',
|
'chartform':'Compare',
|
||||||
'plottype':'scatter',
|
'plottype':'scatter',
|
||||||
|
|||||||
Reference in New Issue
Block a user