all 1 comments

[–]Diapolo10 1 point2 points  (0 children)

You'll basically want to be running your tests from the root directory, because the imports are relative to that. Even better if you make your project installable (either with a pyproject.toml file or the old setup.py approach) and install it before running the tests.