You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tdubs patch functions are just pass throughs to python's mock.patch, but I don't know if all the supported arguments to that work with tdubs doubles, and I haven't tested them as decorators or using start/stop
The text was updated successfully, but these errors were encountered:
blaix
changed the title
Check that all patch parameters work
patch functions need more testing
Mar 14, 2017
My naive initial implementation only works as a context manager. There's a lot more work to do to make it work as a class or function decorator (dang).
Need to decide: update docs to explicitly only support using patch as a context manager, or do the work to make it work just like python's patch?
blaix
changed the title
patch functions need more testing
patch functions only work as context managers
Oct 18, 2017
The tdubs patch functions are just pass throughs to python's
mock.patch
, but I don't know if all the supported arguments to that work with tdubs doubles, and I haven't tested them as decorators or using start/stopThe text was updated successfully, but these errors were encountered: