Tests: Fix improper cleanup of SITE_URL

This commit is contained in:
Raphael Michel
2023-08-10 11:20:26 +02:00
parent 6250ab2165
commit 53e1d9c6c4
6 changed files with 8 additions and 22 deletions

View File

@@ -20,7 +20,6 @@
# <https://www.gnu.org/licenses/>.
#
import pytest
from django.conf import settings
from django.utils.timezone import now
from pretix.base.models import Event, Organizer
@@ -33,7 +32,6 @@ def event():
organizer=o, name='MRMCD2015', slug='2015',
date_from=now(),
)
settings.SITE_URL = 'http://example.com'
return event