[docs] [issue11298] unittest discovery needs better explanation

Ezio Melotti report at bugs.python.org
Fri Feb 25 23:15:31 CET 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

What about something like
"""
In order to be compatible with test discovery, all the test modules must be importable from the top level directory of the project (in other words, they must be part of the project :ref:`package <tut-packages>`, and their name must be valid :ref:`identifiers <identifiers>`).
"""
?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11298>
_______________________________________


More information about the docs mailing list