Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Missing import was added
NyanKiyoshif49ae767d976
diff --git a/tests/test_order.py b/tests/test_order.pyindex 06bf513da7..8a07a44438 100644--- a/tests/test_order.py+++ b/tests/test_order.py@@ -1,6 +1,7 @@import jsonfrom decimal import Decimal+import pytestfrom django.urls import reversefrom django_countries.fields import Countryfrom payments import FraudStatus, PaymentStatus@@ -192,7 +193,7 @@ def test_restock_order_lines(order_with_lines, handle_stock):line_1.variant.refresh_from_db()line_2.variant.refresh_from_db()-+if handle_stock:assert line_1.variant.quantity_allocated == (stock_1_quantity_allocated_before - line_1.quantity)