mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
Apply suggestion from @luelista
This commit is contained in:
@@ -863,6 +863,9 @@ def test_event_name_prefix_contains_dash(env, orga_job):
|
|||||||
@pytest.mark.xfail
|
@pytest.mark.xfail
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
def test_event_name_prefix_multiple_dashes(env, orga_job):
|
def test_event_name_prefix_multiple_dashes(env, orga_job):
|
||||||
|
# We decided to ignore the case of multiple events where the event slugs only differ in dashes
|
||||||
|
# for now. If we change that, switch this test case from xfail to regular test.
|
||||||
|
|
||||||
event, user, o1, o2 = env
|
event, user, o1, o2 = env
|
||||||
slugs = ['dummy-2', 'dummy--2', 'dummy2345']
|
slugs = ['dummy-2', 'dummy--2', 'dummy2345']
|
||||||
for slug in slugs:
|
for slug in slugs:
|
||||||
|
|||||||
Reference in New Issue
Block a user