Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add test for split mutations for files
fowczarek75d916e1af7e
diff --git a/tests/api/test_account.py b/tests/api/test_account.pyindex 72744f7657..e9b044c1f8 100644--- a/tests/api/test_account.py+++ b/tests/api/test_account.py@@ -17,9 +17,9 @@ from saleor.account import events as account_eventsfrom saleor.account.models import Address, Userfrom saleor.account.utils import get_random_avatarfrom saleor.checkout import AddressType-from saleor.graphql.account.mutations import (+from saleor.graphql.account.mutations.base import SetPassword+from saleor.graphql.account.mutations.staff import (CustomerDelete,- SetPassword,StaffDelete,StaffUpdate,UserDelete,@@ -1887,7 +1887,10 @@ def test_user_avatar_update_mutation(monkeypatch, staff_api_client, media_root):mock_create_thumbnails = Mock(return_value=None)monkeypatch.setattr(- ("saleor.graphql.account.mutations." "create_user_avatar_thumbnails.delay"),+ (+ "saleor.graphql.account.mutations.staff."+ "create_user_avatar_thumbnails.delay"+ ),mock_create_thumbnails,)