mirror of
https://github.com/pretix/pretix.git
synced 2026-08-13 11:17:01 +00:00
add test
This commit is contained in:
@@ -36,7 +36,7 @@ def event():
|
||||
date_from=now(), live=True,
|
||||
plugins='pretix.plugins.sendmail,tests.testdummy',
|
||||
location='Foo City',
|
||||
date_admission=now().replace(hour=12, minute=30),
|
||||
date_admission=now().replace(hour=11, minute=30),
|
||||
)
|
||||
return event
|
||||
|
||||
@@ -83,7 +83,12 @@ def event_series(event):
|
||||
|
||||
@pytest.fixture
|
||||
def subevent1(event_series):
|
||||
se1 = event_series.subevents.create(name='Meow', date_from=now() + datetime.timedelta(days=1))
|
||||
se1 = event_series.subevents.create(
|
||||
name='Meow',
|
||||
date_from=now() + datetime.timedelta(days=1),
|
||||
location='Meow Town',
|
||||
date_admission=now().replace(hour=10, minute=0),
|
||||
)
|
||||
return se1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user