Consider I have the following project structure:
+PROJECT
| +models
| | =__init__.py
| | =client.py
| | =config.py
|
| +tests
| | =__init__.py
| | =example.py
| | =example_two.py
|
| README.md
| requirements.txt
When I try to import a class from client and a variable from config into example.py, like so:
from models.config import var
from models.client import Class
I receive a ModuleNotFound Error for both import statements. I know this question has been asked plenty of times before but those solutions don't resolve my issue. I tried placing client and config in the same level as the test folder. However, I received the same issue. It would be great If someone can help me work through this issue.