Skip to content

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

Mark integration tests with pytest.mark

Artur Smęt31fb47dbbc1b
diff --git a/saleor/product/test_discounts.py b/saleor/product/test_discounts.py
index 14457fca12..dbb10d13d5 100644
--- a/saleor/product/test_discounts.py
+++ b/saleor/product/test_discounts.py
@@ -22,6 +22,7 @@ def product_variant(product):
name='variant')
@pytest.mark.django_db(transaction=True)
def test_variant_discounts(product_variant):
product = product_variant.product
@@ -45,6 +46,7 @@ def test_variant_discounts(product_variant):
assert applied_discount.amount.gross == 8
@pytest.mark.django_db(transaction=True)
def test_percentage_discounts(product_variant):
discount = models.Discount.objects.create(