blog.blaix.com
Python’s patch decorator is a code smell
I’m a big fan of using mocks as a testing/design tool. But if I find myself reaching for patch instead of Mock in python, I usually stop and rethink my design. I consider the use of patch in …