Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Bump mock version
Adam Bogdała98478052e6b
diff --git a/saleor/registration/test_registration.py b/saleor/registration/test_registration.pyindex ade33860e8..dd4e78c5a6 100644--- a/saleor/registration/test_registration.py+++ b/saleor/registration/test_registration.py@@ -141,7 +141,15 @@ class AccessTokenTestCase(BaseCommunicationTestCase):"""OAuth2 client asks for access token if interim code is available"""self.access_token_response.status_code = sentinel.okClient(local_host='http://localhost', code=sentinel.code)- self.requests_mock.post.assert_called_once()+ self.requests_mock.post.assert_called_once_with(+ sentinel.token_uri,+ data={'grant_type': 'authorization_code',+ 'client_id': sentinel.client_id,+ 'client_secret': sentinel.client_secret,+ 'code': sentinel.code,+ 'redirect_uri': sentinel.redirect_uri,+ 'scope': sentinel.scope},+ auth=None)def test_token_success(self):"""OAuth2 client properly obtains access token"""diff --git a/setup.py b/setup.pyindex 34d2d7d3ff..27cbfeaf75 100755--- a/setup.py+++ b/setup.py@@ -70,7 +70,7 @@ setup(entry_points={'console_scripts': ['saleor = saleor:manage']},tests_require=[- 'mock==1.0.1',+ 'mock==1.3.0','purl>=0.4.1','pytest','pytest-django'])