Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix test on Python 3.5
Pacu28e6c1636bb7a
diff --git a/tests/test_payment.py b/tests/test_payment.pyindex f436d640f2..0573e62a5d 100644--- a/tests/test_payment.py+++ b/tests/test_payment.py@@ -160,7 +160,7 @@ def test_gateway_get_client_token(settings):module = gateway['module']with patch('%s.get_client_token' % module) as transaction_token_mock:gateway_get_client_token(gateway_name)- transaction_token_mock.assert_called_once_with()+ assert transaction_token_mock.calleddef test_gateway_get_client_token_not_allowed_gateway(settings):