[Zope3-Users] newbie problems with new content-type

Chris Withers chris at simplistix.co.uk
Tue Feb 7 13:43:57 EST 2006


Lorenzo Gil Sanchez wrote:
> c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
> [ traceback ]
> ImportError: No module named z:.my_root_app_dir

Is my_root_app_dir on your PYTHON_PATH?

try this just before you run the test:

set PYTHON_PATH=%PYTHON_PATH%;z:\my_root_app_dir

also, do you have __init__.py files in \tests?

If you have, you should be able to do:

c:\path\to\my\instance\bin\test -vpu tests

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-users mailing list