fix: sorted imports
This commit is contained in:
@@ -4,7 +4,7 @@ from rest_framework import status
|
||||
from rest_framework.test import APITestCase
|
||||
|
||||
from config.tests.mixins import TestUserAuthenticationMixin
|
||||
from shop.models import Product, ProductPrice, Tax, Customer
|
||||
from shop.models import Customer, Product, ProductPrice, Tax
|
||||
|
||||
|
||||
class TestOrdersAPI(APITestCase, TestUserAuthenticationMixin):
|
||||
|
||||
@@ -2,12 +2,12 @@ import random
|
||||
import string
|
||||
from decimal import Decimal
|
||||
|
||||
from django.utils import timezone
|
||||
from rest_framework import status
|
||||
from rest_framework.test import APITestCase
|
||||
from django.utils import timezone
|
||||
|
||||
from config.tests.mixins import TestUserAuthenticationMixin
|
||||
from shop.models import Product, ProductPrice, Tax, ProductBatch, Tag
|
||||
from shop.models import Product, ProductBatch, ProductPrice, Tag, Tax
|
||||
|
||||
|
||||
class TestProductsAPI(APITestCase, TestUserAuthenticationMixin):
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
from decimal import Decimal
|
||||
|
||||
from rest_framework.test import APITestCase as TestCase
|
||||
from shop.models import Product, ProductPrice, Tax, Customer
|
||||
from shop.utils import create_order_line_for_product, create_order
|
||||
|
||||
from shop.models import Customer, Product, ProductPrice, Tax
|
||||
from shop.utils import create_order, create_order_line_for_product
|
||||
|
||||
|
||||
class ShopModelsTest(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user