fix: sorted imports

This commit is contained in:
2024-11-22 08:30:26 +01:00
parent 8783404570
commit f2854ddebf
42 changed files with 100 additions and 146 deletions
+1 -1
View File
@@ -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 -2
View File
@@ -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):
+4 -2
View File
@@ -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):