Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests on python 3.12 are failing with: ``` $ pytest -k 'test_generate_jwt_with_passphrase' FAILED tests/test_connection.py::test_generate_jwt_with_passphrase[pass123] - AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute. FAILED tests/test_connection.py::test_generate_jwt_with_passphrase[] - AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute. ``` This commit fixes has_calls usage by replacing it with assert_has_calls
- Loading branch information