mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix bug introduced in last commit
This commit is contained in:
@@ -42,6 +42,7 @@ def item(event):
|
||||
@pytest.mark.django_db
|
||||
def test_event_dates(event):
|
||||
tl = timeline_for_event(event)
|
||||
print(tl)
|
||||
assert one([
|
||||
e for e in tl
|
||||
if e.event == event and e.datetime == event.date_from and e.description == 'Your event starts'
|
||||
|
||||
Reference in New Issue
Block a user