tests: freeze time to avoid dst issue

This commit is contained in:
Valentin Deniaud 2021-03-24 11:42:33 +01:00
parent bbd93a1bec
commit bc2e447465
1 changed files with 1 additions and 0 deletions

View File

@ -1968,6 +1968,7 @@ def test_recurring_events_repeat(freezer):
)
@pytest.mark.freeze_time('2021-01-06')
def test_recurring_events_with_end_date():
agenda = Agenda.objects.create(label='Agenda', kind='events')
event = Event.objects.create(