[Zope-CMF] unit test weirdness.

Stefan H. Holek stefan@epy.co.at
Wed, 19 Feb 2003 23:42:48 +0100


Works for me with Zope 2.6.0 / CMF 1.3

$ python2.1 utilities/testrunner.py -qd ./lib/python/Products/CMFCore
...........................................................................
...........................................................................
...........................................................................
.......................................
----------------------------------------------------------------------
Ran 264 tests in 2.660s

OK

Stefan


--On Mittwoch, 19. Februar 2003 15:36 +0100 Lennart Regebro 
<lennart@regebro.nu> wrote:

> I noticed a thing I don't really understand with the CMF unit tests.
>
> If I run
>     python utilities/testrunner.py -d ./lib/python/Products/CMFCore
> The unit tests all fail, mostly because of import errors.
>
> However, if I run
>     python utilities/testrunner.py -d ./lib/python/Products
> the CMFCore tests are successfully run. The same goes for CMFCalendar,
> CMFDefault
>
> I feel there is some major voodo when it comes to these unit tests that I
> don't understand, but would like to understand. Can anybody explain this
> to me?

--
Those who write software only for pay should go hurt some other field.
/Erik Naggum/