From: Dieter M. <di...@ha...> - 2010-05-15 05:47:50
|
Suresh V. wrote at 2010-5-14 16:12 +0530: >First, I had to generate a testrunner myself by adding a "test" part. > >This generated testrunner is not able to run tests for my product >located in the "products" folder. > >When run as > >$ bin/test -s Products.MyProduct > >It gives an error: > >ImportError: No module named MyProduct This means that the Zope "import magic" is not activated. You may give "dm.zopepatches.ztest" (on "PyPI") a try. I expect that it activates the Zope "import magic" at least when you tell it to read the Zope configuration file -- but I am not sure (as I tried it up to now only for eggified products). -- Dieter |