Understanding Unittest.Mock



Understanding Unittest.Mock

Understanding Unittest.Mock


Video description

Review the main features of the unittest.mock module with a big dive into how to use it effectively and avoid most of the mistakes beginner and intermediate users fall into when using it. The video includes why mocks are needed, how to use them, and how they work; how to patch code to isolate it from internal dependencies; and different kinds of mocks that fit different scenarios.

You will see all this and the common pitfalls with a series of code …

Start your Free Trial

Self paced

Go to the Course
We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.