misc: fix tests after a time change

This commit is contained in:
Lauréline Guérin 2020-10-26 11:02:19 +01:00
parent 374af4e1e2
commit ea5d454ca2
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 2 additions and 2 deletions

View File

@ -3292,8 +3292,8 @@ def test_agenda_month_view_event_outside_timeperiod(app, admin_user, kind):
places=1,
desk=desk,
meeting_type=meetingtype,
start_datetime=localtime(now()).replace(
day=middle_day.day - middle_day.weekday() + 2, hour=hour, minute=minute
start_datetime=localtime(now().replace(day=middle_day.day - middle_day.weekday() + 2)).replace(
hour=hour, minute=minute
),
)
Booking.objects.create(event=event)