Private
Public Access
1
0

blockers through the db

This commit is contained in:
2023-07-07 15:26:01 +02:00
parent dd811b254f
commit 993ab368c6
9 changed files with 142 additions and 66 deletions

View File

@@ -743,6 +743,13 @@ class WorkoutStatsTestNew(TestCase):
self.c = Client()
self.user_workouts = WorkoutFactory.create_batch(5, user=self.r)
today = datetime.date.today()
i = 0
for w in self.user_workouts:
w.date = today-datetime.timedelta(days=i)
i += 1
w.save()
self.factory = RequestFactory()
self.password = faker.word()
self.u.set_password(self.password)