We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mocker.call
In order to use the assert_has_calls check, you need the call name. I think it should be part of the set of 'convenience' names available via mocker.
assert_has_calls
call
mocker
The end goal is to make this work::
get_pwd = mocker.patch('keyring.get_password') … get_pwd.assert_has_calls( mocker.call(Credentials.KEYRING_SERVICE_DEFAULT, '[email protected]'), mocker.call(Credentials.KEYRING_SERVICE_DEFAULT, 'keyring.example.com'))
If you agree it should be available, I can do a PR.
The text was updated successfully, but these errors were encountered:
Sure, sounds good. A PR would be appreciated! 😁
Just a heads up before you contribute: the license for the new yet to be released version is now MIT (#45).
Sorry, something went wrong.
10e4654
No branches or pull requests
In order to use the
assert_has_calls
check, you need thecall
name. I think it should be part of the set of 'convenience' names available viamocker
.The end goal is to make this work::
If you agree it should be available, I can do a PR.
The text was updated successfully, but these errors were encountered: