Import hierarchy (when importing from local directories as in your case) see the packages and modules from the directory, you run the program, not from importing file location.
So follow these rules:
- plan running your test always from root of your project
- put your testing code into
test
directory - All your test suite shall import as if living in root of the project.
In your case just change
from ... Project.Project import *
to
from Project.Project import *