Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Check for errors in utils function
Pacu2ba7536878b68
diff --git a/tests/utils.py b/tests/utils.pyindex 6b192bd6fd..349d440f2b 100644--- a/tests/utils.py+++ b/tests/utils.py@@ -27,7 +27,9 @@ def filter_products_by_attribute(queryset, attribute_id, value):def get_graphql_content(response):- return json.loads(response.content.decode('utf8'))+ content = json.loads(response.content.decode('utf8'))+ assert 'errors' not in content, content['errors']+ return contentdef get_form_errors(response, form_name='form'):