Skip to content

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

Missing import was added

NyanKiyoshif49ae767d976
diff --git a/tests/test_order.py b/tests/test_order.py
index 06bf513da7..8a07a44438 100644
--- a/tests/test_order.py
+++ b/tests/test_order.py
@@ -1,6 +1,7 @@
import json
from decimal import Decimal
+import pytest
from django.urls import reverse
from django_countries.fields import Country
from 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)