Private
Public Access
1
0

more unit tests

This commit is contained in:
Sander Roosendaal
2021-01-11 17:43:18 +01:00
parent 82b5ece732
commit e153e63481
7 changed files with 1278 additions and 1 deletions

View File

@@ -1000,6 +1000,9 @@ class GoldMedalScores(TestCase):
self.c = Client()
self.user_workouts = WorkoutFactory.create_batch(20, user=self.r)
ws = Workout.objects.all().order_by('date')
ws[0].rankingpiece = True
ws[0].save()
self.factory = RequestFactory()
self.password = faker.word()
self.u.set_password(self.password)