Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix isort
Adam Janik706a014cf96c
diff --git a/tests/api/test_account.py b/tests/api/test_account.pyindex fb814f9966..22a4a90f68 100644--- a/tests/api/test_account.py+++ b/tests/api/test_account.py@@ -1,17 +1,18 @@import jsonfrom unittest.mock import patch-from django.contrib.auth.tokens import default_token_generatorimport grapheneimport pytestfrom django.contrib.auth import get_user_model+from django.contrib.auth.tokens import default_token_generatorfrom django.shortcuts import reversefrom tests.utils import get_graphql_content-from .utils import assert_no_permission, convert_dict_keys_to_camel_casefrom saleor.account.models import Addressfrom saleor.graphql.account.mutations import SetPassword+from .utils import assert_no_permission, convert_dict_keys_to_camel_case+def test_create_token_mutation(admin_client, staff_user):query = '''diff --git a/tests/api/utils.py b/tests/api/utils.pyindex 9bb7559715..45b22a97cd 100644--- a/tests/api/utils.py+++ b/tests/api/utils.py@@ -1,5 +1,7 @@import json+from tests.utils import get_graphql_content+from saleor.graphql.core.utils import snake_to_camel_case