Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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