mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
style
This commit is contained in:
@@ -8,6 +8,7 @@ from unittest import mock
|
|||||||
|
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
from django.core import mail as djmail
|
||||||
from django.core.files.uploadedfile import SimpleUploadedFile
|
from django.core.files.uploadedfile import SimpleUploadedFile
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.utils.crypto import get_random_string
|
from django.utils.crypto import get_random_string
|
||||||
@@ -28,7 +29,6 @@ from pretix.base.services.orders import OrderError, _perform_order
|
|||||||
from pretix.testutils.scope import classscope
|
from pretix.testutils.scope import classscope
|
||||||
from pretix.testutils.sessions import get_cart_session_key
|
from pretix.testutils.sessions import get_cart_session_key
|
||||||
|
|
||||||
from django.core import mail as djmail
|
|
||||||
|
|
||||||
class BaseCheckoutTestCase:
|
class BaseCheckoutTestCase:
|
||||||
@scopes_disabled()
|
@scopes_disabled()
|
||||||
@@ -2539,8 +2539,6 @@ class CheckoutTestCase(BaseCheckoutTestCase, TestCase):
|
|||||||
assert len(djmail.outbox) == 0
|
assert len(djmail.outbox) == 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class QuestionsTestCase(BaseCheckoutTestCase, TestCase):
|
class QuestionsTestCase(BaseCheckoutTestCase, TestCase):
|
||||||
|
|
||||||
def test_timezone(self):
|
def test_timezone(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user