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
_______________________________________________
Zope3-users mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope3-users