In my project I have a folder helpers. There is a python file db.py. There is a class called Database. In the same level as folders helpers i have file conftest.py . In conftest I import Database ...
I have two files example1.py and test_example1.py. I also have the necessary extensions for debugging python and use of pytest installed. Above line 3 of test_example1.py I see a couple of options ...