How to use Pythons unittestmockpatch
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=WFRljVPHrkE
How to use (and where to apply) Python's unittest.mock.patch in your test suites. In this video I show where to patch, and three ways of applying mock.patch: as a decorator, as a context manager, and inline using mock.patch.start() and mock.patch.stop(). • Further reading: • • Python docs on unittest.mock.patch: https://docs.python.org/3/library/uni... • Where to patch: https://docs.python.org/3/library/uni...
#############################
