Re: Distutils and unit test files

2008-06-23 Thread Cédric Lucantis
> On Mon, Jun 23, 2008 at 9:59 AM, Cédric Lucantis <[EMAIL PROTECTED]> 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

Re: Distutils and unit test files

2008-06-23 Thread Joe Riopel
On Mon, Jun 23, 2008 at 9:59 AM, Cédric Lucantis <[EMAIL PROTECTED]> 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 appe

Re: Distutils and unit test files

2008-06-23 Thread Cédric Lucantis
Le Monday 23 June 2008 15:38:40 Joe Riopel, vous avez écrit : > Hi, > > I am using Distutils to build and distribute some packages. I do write > unit tests, but I am confused as to where to put them and how to run > them prior to the package being installed (The modules being tested > would not be

Distutils and unit test files

2008-06-23 Thread Joe Riopel
Hi, I am using Distutils to build and distribute some packages. I do write unit tests, but I am confused as to where to put them and how to run them prior to the package being installed (The modules being tested would not be in my sys.path). I would rather not put the test cases in the same files