mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Used isort to order all import statements
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import time
|
||||
from pretix.base.models import User
|
||||
|
||||
from tests.base import BrowserTest
|
||||
from tests.presale.test_event import EventTestMixin
|
||||
|
||||
from pretix.base.models import User
|
||||
|
||||
|
||||
class UserSettingsTest(EventTestMixin, BrowserTest):
|
||||
def setUp(self):
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
import datetime
|
||||
import time
|
||||
from datetime import timedelta
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
from django.test import TestCase
|
||||
from django.utils.timezone import now
|
||||
from datetime import timedelta
|
||||
|
||||
from pretix.base.models import Item, Organizer, Event, ItemCategory, Quota, Property, PropertyValue, ItemVariation, User, \
|
||||
CartPosition, Question, QuestionAnswer
|
||||
from tests.base import BrowserTest
|
||||
|
||||
from pretix.base.models import (
|
||||
CartPosition, Event, Item, ItemCategory, ItemVariation, Organizer,
|
||||
Property, PropertyValue, Question, QuestionAnswer, Quota, User,
|
||||
)
|
||||
|
||||
|
||||
class CartTestMixin:
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import datetime
|
||||
from datetime import timedelta
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
from django.test import TestCase
|
||||
from django.utils.timezone import now
|
||||
from datetime import timedelta
|
||||
|
||||
from pretix.base.models import Item, Organizer, Event, ItemCategory, Quota, User, \
|
||||
CartPosition, Question, Order, OrderPosition
|
||||
from pretix.base.models import (
|
||||
CartPosition, Event, Item, ItemCategory, Order, OrderPosition, Organizer,
|
||||
Question, Quota, User,
|
||||
)
|
||||
|
||||
|
||||
class CheckoutTestCase(TestCase):
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
import datetime
|
||||
import time
|
||||
|
||||
from django.test import TestCase
|
||||
from django.utils.timezone import now
|
||||
|
||||
from pretix.base.models import Item, Organizer, Event, ItemCategory, Quota, Property, PropertyValue, ItemVariation, User
|
||||
from tests.base import BrowserTest
|
||||
|
||||
from pretix.base.models import (
|
||||
Event, Item, ItemCategory, ItemVariation, Organizer, Property,
|
||||
PropertyValue, Quota, User,
|
||||
)
|
||||
|
||||
|
||||
class EventTestMixin:
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
import datetime
|
||||
from decimal import Decimal
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
from django.test import TestCase
|
||||
from django.utils.timezone import now
|
||||
|
||||
from pretix.base.models import Organizer, Event, Order, User, ItemCategory, Quota, Item, Property, PropertyValue, \
|
||||
ItemVariation, OrderPosition, Question
|
||||
from pretix.base.models import (
|
||||
Event, Item, ItemCategory, ItemVariation, Order, OrderPosition, Organizer,
|
||||
Property, PropertyValue, Question, Quota, User,
|
||||
)
|
||||
|
||||
|
||||
class OrdersTest(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user