Distutils and unit test files

Joe Riopel goon12 at gmail.com
Mon Jun 23 10:05:05 EDT 2008


On Mon, Jun 23, 2008 at 9:59 AM, Cédric Lucantis <omer at no-log.org> wrote:
> Yes a checksuite should be kept separate from the 'real' code. You can run it
> locally by setting the PYTHONPATH environment variable :
>
> PYTHONPATH=/path/to/your/modules python checksuite.py

So I could also just append the path to sys.path in checksuite.py file
and use checksuite to run all my unit tests?

Thanks



More information about the Python-list mailing list