Python Testing Part 2: Dependency Inversion with Service Functions
The first article in this series dealt with avoiding excessive use of mocks when testing code that performs I/O. This article deals with service functions that make use of dependency inversion. Mocks should be absent from these tests altogether. This...


