rfportilla
rfportilla
Hi, I just posted a new issue before I saw this. This is a problem for me. I would be more than happy to make this change. I also addressed...
Thanks for looking this over. I am not sure why you consider it a really big hammer. I ran a test to compare time with and without deepcopy and the...
@jamielennox To me, it seems the need to use copy is tied to that is customary to use an instance of class (in this case Mocker) to decorate a class/method....
But, first, to be clear... there are no defined assertions in the mock library. I have never used assertions on the mock API side. I usually use MagicMock for this....
> So the thing i've tried to avoid here is an assumption on what test suite is being used. If you're using pytest that `assert thing` makes sense where unittest/testtools...
Hi, Fluffy-critter. I would love to see a specific use-case for this (just to add some weight to this). Do you have one? Btw, you can check if the mock...
There is certainly more than one way. :-) This is more of a unit test approach by mocking requests.get. This works well if you are testing a single function and...
Back to the point, I think this feature is about being able match on incoming data. This can be done now by passing an "additional_matcher" that checks the request data....
I have cleared count in the past when I have a specific series of steps in a test that requires it. It is a rare case, but useful under the...
Hi, Jamie. This seems like an interesting challenge. It seems like we are still interested in this on some level even though this conversation has gone stale. I am curious...