The Wayback Machine - https://web.archive.org/web/20211029120041/https://github.com/darrenburns/ward/issues/264
Skip to content
New issue

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

Add note on how to mock to the docs #264

Open
darrenburns opened this issue Jun 10, 2021 · 0 comments
Open

Add note on how to mock to the docs #264

darrenburns opened this issue Jun 10, 2021 · 0 comments

Comments

@darrenburns
Copy link
Owner

@darrenburns darrenburns commented Jun 10, 2021

We need a page in the docs that tell users that to mock they should use from unittest import mock.

We should note that the mock.patch decorators don't currently work, and that we need to use the context managers instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment