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.test.utils import override_settings
from django.utils.timezone import now
@@ -36,7 +35,6 @@ def env():
date_from=now(), live=True
)
event.get_cache().clear()
settings.SITE_URL = 'http://example.com'
return o, event