I have removed all unit test failures when running the test runner with "-N 
2", except for one failure in the ZODB tests, since I know nothing about this 
code. The failure is pasted below:

[EMAIL PROTECTED] Zope3-Fresh]$ Python test.py -vpu1 -N 2
Configuration file found.
Running UNIT tests at level 1
Running UNIT tests from /opt/zope/Zope3/Zope3-Fresh

Run 1:
7299/7299 (100.0%): test_wikipath 
Ran 7299 tests in 384.119s


Run 2:
1126/7305 ( 15.4%): unittest.FunctionTestCase (runit)

Error in test unittest.FunctionTestCase (runit)
Traceback (most recent call last):
  File "/opt/python2.3/lib/python2.3/unittest.py", line 423, in runTest
  File "/opt/python2.3/lib/python2.3/doctest.py", line 1359, in runit
    _utest(tester, name, doc, filename, lineno)
  File "/opt/python2.3/lib/python2.3/doctest.py", line 1309, in _utest
    raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for 
  File "/opt/zope/Zope3/Zope3-Fresh/src/ZODB/tests/testConnection.py", line 
386, in test_cache

Failure in example: len(hook.warnings)
from line #49 of ZODB.tests.testConnection.UserMethodTests.test_cache
Expected: 2
Got: 1
Failure in example: message, category, filename, lineno = hook.warnings[1]
from line #57 of ZODB.tests.testConnection.UserMethodTests.test_cache
Exception raised:
Traceback (most recent call last):
  File "/opt/python2.3/lib/python2.3/doctest.py", line 442, in 
    compileflags, 1) in globs
  File "<string>", line 1, in ?
IndexError: list index out of range
Failure in example: message
from line #58 of ZODB.tests.testConnection.UserMethodTests.test_cache
Expected: 'No argument expected'
'This will be removed in ZODB 3.6:\ncacheFullSweep is deprecated. Use 
cacheMinimize instead.'

7305/7305 (100.0%): test_wikipath 
Ran 7305 tests in 428.103s

FAILED (errors=1)

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to