[Tutor] Where should unit test files go in a project directory structure and some related questions?

Alex Kleider akleider at sonic.net
Sun Aug 16 21:46:59 CEST 2015

On 2015-08-16 10:45, Alan Gauld wrote:

> Thee are several options.
> 1) create links from, main to the test files needed
> 2) alter sys.path so imports can see the test folder
> 3) alter the PYTHONPATH environment var

> I suspect in this case the easiest solution is a link

Thanks Alan.

Creating a link is familiar to me but your answer brings up
another question:
Where/how is the best place/way to set PYTHONPATH?
I've never been clear to me if it's part of the shell (bash)
environment or part of the python interpreter's environment.

More information about the Tutor mailing list