Making module content available in parent module

Gregor Horvath gh at gregor-horvath.com
Tue Nov 23 11:58:06 CET 2010


Hi,

On Tue, 23 Nov 2010 11:36:05 +0100
Ulrich Eckhardt <ulrich.eckhardt at dominolaser.com> wrote:

> Now, my problem is I have a directory containing test scripts which I
> all want to run. I used to run them individually and manually, but
> want to avoid this overhead in the future.
> 
>  tests/
>    foo.py # defines TestFoo1 and TestFoo2
>    bar.py # defines TestBar1 and TestBar2

Nose does what you want:

http://packages.python.org/nose/

--
Gregor



More information about the Python-list mailing list