P
P
Prepod212019-12-13 13:25:23
Python
Prepod21, 2019-12-13 13:25:23

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 question

Ask a Question

731 491 924 answers to any question