Tech Insights· mauveweb.co.uk
Every mock.patch() is a little smell
From mauveweb.co.uk
The Python unittest.mock library (and the standalone mock package for Python 2) includes an extremely handy feature in patch(), which allows easy and safe monkey-patching for the purposes of testing.
Shared by
- Design Patterns



