[Zope-tests] FAILED (failures=8) : Zope-trunk Python-2.5.4 : Linux

Zope Tests zope-tests at epy.co.at
Tue Feb 3 21:09:30 EST 2009


Zope Tests : FAILED (failures=8) 
Zope-trunk Python-2.5.4 : Linux

Running /usr/local/python2.5/bin/python test.py -q --all
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.445 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.119 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
  Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.001 seconds.
  Set up OFS.tests.testCopySupportHooks.HookLayer in 1.253 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.207 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Tear down OFS.tests.testCopySupportHooks.HookLayer in 0.001 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Ran 631 tests with 0 failures and 0 errors in 33.557 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
  Ran 18 tests with 0 failures and 0 errors in 0.080 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
  Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
  Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.formlib.tests.FormlibLayer tests:
  Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.formlib.tests.FormlibLayer in 1.510 seconds.
  Ran 11 tests with 0 failures and 0 errors in 0.023 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.003 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 1.190 seconds.
  Ran 160 tests with 0 failures and 0 errors in 3.601 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down zope.testbrowser.tests.TestBrowserLayer in 0.004 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python25-zope212/lib/python/DocumentTemplate/DT_Raise.py:63: DeprecationWarning: String exceptions are deprecated starting with Python 2.5 and will be removed in a future release
  t, v = upgradeException(t, v)
/home/stefan/autotest/temp/python25-zope212/lib/python/Zope2/App/tests/testExceptionHook.py:120: DeprecationWarning: raising a string exception is deprecated
  raise 'unauthorized', 'x'
/home/stefan/autotest/temp/python25-zope212/lib/python/Zope2/App/startup.py:186: DeprecationWarning: raising a string exception is deprecated
  raise
/home/stefan/autotest/temp/python25-zope212/lib/python/Zope2/App/tests/testExceptionHook.py:129: DeprecationWarning: raising a string exception is deprecated
  raise 'redirect', 'x'


Failure in test test_error_handling (zope.formlib.tests)
Failed doctest test for zope.formlib.tests.test_error_handling
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/formlib/tests.py", line 286, in test_error_handling

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/formlib/tests.py", line 329, in zope.formlib.tests.test_error_handling
Failed example:
    errors #doctest: +ELLIPSIS
Expected:
    [<zope.app.form.interfaces.WidgetInputError instance at ...>]
Got:
    [WidgetInputError('form.summary', 'summary', ValidationError('A error message'))]



Failure in test testRegisterAndCompileTranslations (zope.i18n.tests.test_zcml.DirectivesTest)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/i18n/tests/test_zcml.py", line 148, in testRegisterAndCompileTranslations
    self.assertEquals(msg, u"I'm a newer file translated")
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: u"I'm a newer file" != u"I'm a newer file translated"



Failure in test /home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt
Failed doctest test for validation.txt
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt", line 39, in validation.txt
Failed example:
    r
Expected:
    [('a', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>)),
     ('b', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>))]
Got:
    [('a', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'a'",))), ('b', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'b'",)))]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt", line 50, in validation.txt
Failed example:
    r
Expected:
    [('a', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>)),
     ('b', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>))]
Got:
    [('a', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'a'",))), ('b', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'b'",)))]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt", line 65, in validation.txt
Failed example:
    errors
Expected:
    [('a', TooBig(11, 10)),
     ('b', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>))]
Got:
    [('a', TooBig(11, 10)), ('b', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'b'",)))]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/schema/tests/../validation.txt", line 80, in validation.txt
Failed example:
    r
Expected:
    [('b', SchemaNotFullyImplemented(<exceptions.AttributeError instance at 0x...>))]
Got:
    [('b', SchemaNotFullyImplemented(AttributeError("'TwoInts' object has no attribute 'b'",)))]

The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-38, started daemon)>]
  Ran 6027 tests with 3 failures and 0 errors in 3 minutes 1.589 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Set up zope.traversing.tests.layer.TraversingLayer in 1.113 seconds.


Failure in test test_absolute_url (zope.traversing.tests.test_vhosting.TestVirtualHosting)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 110, in test_absolute_url
    self.verify('/pt', 'http://localhost/pt')
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'http://localhost/pt\n' != 'http://localhost/pt'



Failure in test test_absolute_url_absolute_traverse (zope.traversing.tests.test_vhosting.TestVirtualHosting)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 132, in test_absolute_url_absolute_traverse
    self.verify('/foo/bar/pt', 'http://localhost/foo/bar/pt')
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'http://localhost/foo/bar/pt\n' != 'http://localhost/foo/bar/pt'



Failure in test test_request_base (zope.traversing.tests.test_vhosting.TestVirtualHosting)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 69, in test_request_base
    '<head>\n<base href="http://localhost/pt" />\n'
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: '<head>\n<base href="http://localhost/pt" />\n</head>\n' != '<head>\n<base href="http://localhost/pt" />\n</head>'



Failure in test test_request_url (zope.traversing.tests.test_vhosting.TestVirtualHosting)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 49, in test_request_url
    self.verify('/pt', 'http://localhost/pt')
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'http://localhost/pt\n' != 'http://localhost/pt'



Failure in test test_resources (zope.traversing.tests.test_vhosting.TestVirtualHosting)
Traceback (most recent call last):
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 143, in test_resources
    self.verify('/foo/bar/pt', 'http://localhost/@@/quux')
  File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'http://localhost/@@/quux\n' != 'http://localhost/@@/quux'

  Ran 7 tests with 5 failures and 0 errors in 0.284 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.009 seconds.
Total: 6884 tests, 8 failures, 0 errors in 3 minutes 52.473 seconds.

FAILED (failures=8) 


More information about the Zope-tests mailing list