Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move order tests

fowczrekcbe847d963f8
diff --git a/saleor/order/tests/__init__.py b/saleor/order/tests/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/test_fulfullments_actions.py b/saleor/order/tests/test_fulfullments_actions.py
similarity index 100%
rename from tests/test_fulfullments_actions.py
rename to saleor/order/tests/test_fulfullments_actions.py
diff --git a/tests/test_order.py b/saleor/order/tests/test_order.py
similarity index 99%
rename from tests/test_order.py
rename to saleor/order/tests/test_order.py
index 631c576237..96e74045f1 100644
--- a/tests/test_order.py
+++ b/saleor/order/tests/test_order.py
@@ -32,8 +32,7 @@ from saleor.payment import ChargeStatus
from saleor.payment.models import Payment
from saleor.product.models import Collection
from saleor.warehouse.models import Stock
-
-from .utils import get_quantity_allocated_for_stock
+from tests.utils import get_quantity_allocated_for_stock
def test_total_setter():
diff --git a/tests/test_order_actions.py b/saleor/order/tests/test_order_actions.py
similarity index 99%
rename from tests/test_order_actions.py
rename to saleor/order/tests/test_order_actions.py
index 403e2578e6..de9c50f50c 100644
--- a/tests/test_order_actions.py
+++ b/saleor/order/tests/test_order_actions.py
@@ -18,8 +18,7 @@ from saleor.order.models import Fulfillment
from saleor.payment import ChargeStatus, PaymentError
from saleor.product.models import DigitalContent
from saleor.warehouse.models import Allocation, Stock
-
-from .utils import create_image
+from tests.utils import create_image
@pytest.fixture
diff --git a/tests/test_order_utils.py b/saleor/order/tests/test_order_utils.py
similarity index 100%
rename from tests/test_order_utils.py
rename to saleor/order/tests/test_order_utils.py