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

take a look at unification of the Mocker class and the _Patcher class #10

Closed
RonnyPfannschmidt opened this issue Apr 9, 2015 · 3 comments

Comments

@RonnyPfannschmidt
Copy link
Member

their distinction seems artifical

@nicoddemus
Copy link
Member

Hi @RonnyPfannschmidt,

Hmm can you clarify where is this Mocker that you mentioned? Or do you mean MockerFixture?

If that's the case, that indirection exists only so the user can use an API similar to unittest.mock:

mocker.patch.object(obj, 'attr')

@RonnyPfannschmidt
Copy link
Member Author

we should have a discussion, this relates to #9

@nicoddemus
Copy link
Member

Closing this and continuing discussion in #9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants