more unit tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user