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 · 5 comments
Open

Add note on how to mock to the docs #264

darrenburns opened this issue Jun 10, 2021 · 5 comments
Labels
docs good first issue Good for newcomers small This feature/bugfix is relatively small in size

Comments

@darrenburns
Copy link
Owner

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.

@darrenburns darrenburns added docs good first issue Good for newcomers small This feature/bugfix is relatively small in size labels Jun 10, 2021
@harshlancer
Copy link

If the issue is still relevant I'd like to contribute .@darrenburns

@darrenburns
Copy link
Owner Author

It's still relevant so feel free to open a PR, thanks!

@RamonGiovane
Copy link

RamonGiovane commented May 26, 2022

Yes, it's indeed relevant, I wish to know what is the official way of using mocks with Ward.

@sarkartanmay393
Copy link

I want to contribute to this issue. Assign me this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs good first issue Good for newcomers small This feature/bugfix is relatively small in size
Projects
None yet
Development

No branches or pull requests

5 participants
@darrenburns @RamonGiovane @sarkartanmay393 @harshlancer and others