Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix tests
Marcin Gębala93fd62bc61c0
diff --git a/tests/test_graphql.py b/tests/test_graphql.pyindex e29e11908f..46036e8771 100644--- a/tests/test_graphql.py+++ b/tests/test_graphql.py@@ -16,7 +16,6 @@ def test_category_query(client, product_in_stock):category(id: "%(category_pk)s") {idname- productsCountancestors {edges {node {@@ -47,7 +46,6 @@ def test_category_query(client, product_in_stock):category_data = content['data']['category']assert category_data is not Noneassert category_data['name'] == category.name- assert category_data['productsCount'] == category.products.count()assert (len(category_data['ancestors']['edges']) ==category.get_ancestors().count())