"Strict" Unit Testing -- Everything In Isolation Is Too Much Work
Folks like to claim that unit testing absolutely requires each class be tested in isolation using mocks for all dependencies. This is a noble aspiration, but doesn't work out perfectly well in Python.
First, "unit" is intentionally vague. It could be a class, a function, a module or a package …
more ...