Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fixed tests that may have been broken from a merge conflict
NyanKiyoshi981e85006fdc
diff --git a/tests/dashboard/test_product.py b/tests/dashboard/test_product.pyindex 4effb9d57f..2c1ce7edee 100644--- a/tests/dashboard/test_product.py+++ b/tests/dashboard/test_product.py@@ -252,6 +252,13 @@ def test_view_product_bulk_update_unpublish(admin_client, product_list):response = admin_client.post(url, data)+ assert response.status_code == 302+ assert get_redirect_location(response) == reverse('dashboard:product-list')++ for p in product_list:+ p.refresh_from_db()+ assert not p.is_published+def test_product_variant_form(product):variant = product.variants.first()@@ -265,13 +272,6 @@ def test_product_variant_form(product):variant.refresh_from_db()assert variant.name == example_size- assert response.status_code == 302- assert get_redirect_location(response) == reverse('dashboard:product-list')-- for p in product_list:- p.refresh_from_db()- assert not p.is_published-def test_view_ajax_products_list(admin_client, product):url = reverse('dashboard:ajax-products')