Private
Public Access
1
0
This commit is contained in:
2024-05-22 20:11:35 +02:00
parent a604fda3cc
commit fe620031dc
4 changed files with 121 additions and 126 deletions

View File

@@ -42,12 +42,7 @@ class ListWorkoutTest(TestCase):
rowerplan='coach')
self.c = Client()
self.user_workouts = WorkoutFactory.create_batch(len(workouttypes), user=self.r)
i = 0
for workouttype in workouttypes:
self.user_workouts[i].workouttype = workouttype[0]
self.user_workouts[i].save()
i = i+1
self.user_workouts = WorkoutFactory.create_batch(5, user=self.r)
self.factory = RequestFactory()
self.password = faker.word()

Binary file not shown.