|
From: Leonardo R. A. <le...@hi...> - 2001-12-11 21:37:30
|
Hi Andrey. it is trying to run the tests under lib/python/Products/ZCatalog/tests check that there is a __init__.py file under that directory. If there isn't one you can just 'touch __init__.py' in there. On Tue, 2001-12-11 at 09:26, Andrey Khavryuchenko wrote: > Leonardo, > > "LRA" == Leonardo Rochael Almeida wrote: > > LRA> On Tue, 2001-12-11 at 07:26, Andrey Khavryuchenko wrote: > >> Does it needs Zope Page Templates? > > LRA> yes. > > Ok. Started now. > > What module does ZUnit sample test? I get following error when selecting > 'Run Tests' tab in runner object: > > Error Type: ImportError > Error Value: No module named tests.testCatalog > > with following traceback: > > File /var/zope/Products/ZUnit/TestRunner.py, line 74, in countTests > (Object: Traversable) > File /var/zope/Products/ZUnitExternal/ExternalTestCase.py, line 93, in countTests > (Object: testCatalog) > File /var/zope/Products/ZUnitExternal/ExternalTestCase.py, line 74, in _testInstance > (Object: testCatalog) > File /usr/share/zope/lib/python/unittest.py, line 353, in createTestInstance > ImportError: (see above) > > > -- > Andrey V Khavryuchenko http://www.kds.com.ua/ > Offshore Software Development > > _______________________________________________ > ZUnit-devel mailing list > ZUn...@li... > https://lists.sourceforge.net/lists/listinfo/zunit-devel > > -- Ideas don't stay in some minds very long because they don't like solitary confinement. |