[Tutor] Do not understand why test is running.

Alex Kleider akleider at sonic.net
Fri Aug 21 15:26:11 CEST 2015


On 2015-08-20 23:16, Peter Otten wrote:


> Yea, breaking things is an art form ;)


> $ python3 -m unittest -h
> usage: python3 -m unittest [-h] [-v] [-q] [-f] [-c] [-b] [tests [tests 
> ...]]
> 
.....
> 
> For test discovery all test modules must be importable from the top 
> level
> directory of the project.

How is "top level directory of the project" defined in this context?
Is it as far up as one can travel while passing through directories
containing an __init__.py file?




More information about the Tutor mailing list