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
See the patch module added in #19. The default name for the doubles should be the name of the replaced object.
patch
name
So instead of this:
>>> with patch.stub('path.to.my_function'): ... my_function <Stub name='' ...>
it should be this:
>>> with patch.stub('path.to.my_function'): ... my_function <Stub name='my_function' ...>
Question: should the name include the full path to the object?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See the
patch
module added in #19. The defaultname
for the doubles should be the name of the replaced object.So instead of this:
it should be this:
Question: should the name include the full path to the object?
The text was updated successfully, but these errors were encountered: