Fix remaining tests

This commit is contained in:
Raphael Michel
2019-06-17 10:04:54 +02:00
parent 69a80f2540
commit c12ba88ad8
72 changed files with 4715 additions and 3486 deletions
+2
View File
@@ -2,6 +2,7 @@ import pytest
from django.conf import settings
from django.test import override_settings
from django.utils.timezone import now
from django_scopes import scopes_disabled
from tests import assert_num_queries
from pretix.base.models import Event, Organizer
@@ -97,6 +98,7 @@ def test_event_custom_domain_cache(env):
'LOCATION': 'unique-snowflake',
}
})
@scopes_disabled()
def test_event_custom_domain_cache_clear(env):
kd = KnownDomain.objects.create(domainname='foobar', organizer=env[0])
env[0].cache.clear()