Do not auto-create a first subevent

This commit is contained in:
Raphael Michel
2020-06-08 16:22:11 +02:00
parent 42490c6dec
commit 0c3a200355
4 changed files with 9 additions and 26 deletions

View File

@@ -655,7 +655,7 @@ class EventsTest(SoupTest):
with scopes_disabled():
ev = Event.objects.get(slug='33c3')
assert ev.has_subevents
assert ev.subevents.count() == 1
assert ev.subevents.count() == 0
def test_create_event_copy_success(self):
with scopes_disabled():