[Zope-CMF] Re: running the CMF unit tests
Gregoire Weber
gregweb at gmx.ch
Wed Aug 4 07:18:05 EDT 2004
Thanks, Yvo!
>After checking in a small fix for __init__.py this also works.
Why have "own" imports to be relative in __init__.py?
>There are still 10 CMFSetup tests failing.
with 'all_cmf_tests.py'
Ran 741 tests in 17.906s
OK
with 'testrunner.py':
Ran 755 tests in 17.093s
FAILED (failures=10, errors=11)
directly in CMFSetup ('testrunner.py'):
Ran 300 tests in 2.453s
FAILED (failures=10, errors=11)
Are they not covered by 'all_cmf_tests.py'?
Somehow confusing: 755 - 741 = 14 but != 21 (10+11)
><batch_script>
>@Set ZOPE_HOME=C:\Programme\Zope272
>@Set PYTHON=%ZOPE_HOME%\bin\python.exe
>@Set PYTHONPATH=%ZOPE_HOME%\lib\python
>
>"%PYTHON%" "all_cmf_tests.py"
>Pause
></batch_script>
>
>Note that I test with INSTANCE_HOME and ZOPE_HOME in the same place!
Works for me after adding INSTANCE_HOME definition. Thanks.
Gregoire
More information about the Zope-CMF
mailing list