Answer the question
In order to leave comments, you need to log in
How to test python modules with external dependencies?
The web is full of examples for pytest and unittest when testing simple functions like sum, mult, etc. What about complex compound modules? How to test a module that accesses a database, for example, has external dependencies?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question