This commit is contained in:
Raphael Michel
2025-10-20 18:31:05 +02:00
parent 33462a7a6e
commit 79ecaaa04b

View File

@@ -471,7 +471,7 @@ def test_variation_wrong_item(user, event, item):
import_orders.apply(
args=(event.pk, inputfile_factory(data).id, settings, 'en', user.pk)
).get()
assert 'Error while importing value "1" for column "Product variation" in line "1": No matching variation was found.' in str(excinfo.value)
assert f'Error while importing value "{str(v1.pk)}" for column "Product variation" in line "1": No matching variation was found.' in str(excinfo.value)
@pytest.mark.django_db