Skip to content

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

Pytest should delete all temporary files

fowczrekced055cebeb5
diff --git a/saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py b/saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
index 8b85e72d3f..69ba69d8c6 100644
--- a/saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
+++ b/saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_subscription.py
@@ -781,7 +781,7 @@ def test_gift_card_metadata_updated(
def test_gift_card_export_completed(
- user_export_file, tmpdir, subscription_gift_card_export_completed_webhook
+ user_export_file, subscription_gift_card_export_completed_webhook, media_root
):
# given
file_mock = MagicMock(spec=File)
@@ -1236,7 +1236,7 @@ def test_product_metadata_updated(
def test_product_export_completed(
- user_export_file, tmpdir, subscription_product_export_completed_webhook
+ user_export_file, subscription_product_export_completed_webhook, media_root
):
# given
file_mock = MagicMock(spec=File)