[qmtest] Python unit tests

Neilen Marais nmarais at snowisp.com
Thu Apr 7 09:02:55 UTC 2005


Hi Scott!

On Wed, 2005-04-06 at 13:40 -0400, Scott Lowrey wrote:

> >python source, I always get: 
> >
> >qmtest.exception  exceptions.ImportError: No module named outfilecomp
> >
> >  
> >
> (Sorry, my other responses were not formatted correctly for the qmtest 
> list server.)
> 
> You should put custom Python modules in lib/python2.x/site-packages.  If 
> you don't you'll have to define the environment variable PYTHONPATH to 
> point to the directory where your stuff is.

Ah, yes, thanks! Setting PYTHONPATH is the way to go about it I think.
Putting things in /lib/... would require root priviliges, and be a
little messy. Setting PYTHONPATH gets te desired effect.

Thanks
Neilen




More information about the qmtest mailing list