I want my tests folder separate to my application code. My project structure is like so
myproject/ myproject/ myproject.py moduleone.py tests/ my
Not sure if this solution was specific to my problem, but I simply add __init__.py to my tests folder and that solved the problem.
__init__.py
tests