Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix patch of a changed variable
Ania Warzecha1fe87c8376a2
diff --git a/saleor/attribute/tests/test_page_attributes_migration.py b/saleor/attribute/tests/test_page_attributes_migration.pyindex 648ac7415d..ff5312c5f0 100644--- a/saleor/attribute/tests/test_page_attributes_migration.py+++ b/saleor/attribute/tests/test_page_attributes_migration.py@@ -31,7 +31,7 @@ def test_update_page_assignment(second_page):for assigned_page in apa_values_before_migration:assert assigned_page.page is None- with patch("saleor.attribute.migrations.tasks.saleor3_16.BATCH_SIZE", 5):+ with patch("saleor.attribute.migrations.tasks.saleor3_16.PAGE_BATCH_SIZE", 5):assign_pages_to_attribute_values_task()apa_values_post_migration = AssignedPageAttributeValue.objects.filter(