[Zope-tests] FAILED (failures=2) : Zope-trunk Python-2.5.2 : Linux
Zope Tests
zope-tests at epy.co.at
Sat Jan 3 20:37:35 EST 2009
Zope Tests : FAILED (failures=2)
Zope-trunk Python-2.5.2 : Linux
Running /usr/local/python2.5/bin/python test.py -q --all
Running unit tests:
/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)
Failure in test test_without_version_txt (App.tests.test_version_txt.VersionTextTestCase)
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/App/tests/test_version_txt.py", line 49, in test_without_version_txt
self.assertEqual(getZopeVersion(), (-1, -1, -1, '', -1))
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: (2, 11, 0, '', -1) != (-1, -1, -1, '', -1)
/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'
The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-38, started daemon)>]
The following test left new threads behind:
testPASS (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-49, started daemon)>, <_DummyThread(Dummy-51, started daemon)>]
Ran 5685 tests with 1 failures and 0 errors in 3 minutes 16.201 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.431 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.121 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.005 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Failure in test /home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt
Failed doctest test for aqlegacy_ftest.txt
File "/home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 126, in aqlegacy_ftest.txt
Failed example:
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest aqlegacy_ftest.txt[43]>", line 1, in <module>
browser.open('http://localhost/test_folder_1_/implicit_zcmltemplate')
File "/home/stefan/autotest/temp/python25-zope212/lib/python/zope/testbrowser/browser.py", line 231, in open
self.mech_browser.open(url, data)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "/home/stefan/autotest/temp/python25-zope212/lib/python/mechanize/_mechanize.py", line 261, in _mech_open
raise response
HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt", line 127, in aqlegacy_ftest.txt
Failed example:
print browser.contents
Differences (ndiff with -expected +actual):
- <p>The falcon has taken flight</p>
+ <html>
+ <head><title>test_folder_1_</title></head>
+ <body bgcolor="#FFFFFF">
+ <BLANKLINE>
+ Object: <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python25-zope212/lib/python/Products/Five/browser/tests/falcon.pt object at 0x457a234c>, name: 'index_html'
+ <BLANKLINE>
+ </body>
+ </html>
+ <BLANKLINE>
+ <BLANKLINE>
Ran 632 tests with 1 failures and 0 errors in 26.839 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.103 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.018 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 2.069 seconds.
Ran 5 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
Tear down zope.formlib.tests.FormlibLayer in 0.007 seconds.
Set up zope.testbrowser.tests.TestBrowserLayer in 1.124 seconds.
Ran 112 tests with 0 failures and 0 errors in 2.850 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
Tear down zope.testbrowser.tests.TestBrowserLayer in 0.007 seconds.
Set up zope.traversing.tests.layer.TraversingLayer/home/stefan/autotest/temp/python25-zope212/lib/python/zope/configuration/config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated. It has moved to zope.securitypolicy.zopepolicy This reference will be removed somedays
obj = getattr(mod, oname)
in 0.975 seconds.
Ran 7 tests with 0 failures and 0 errors in 0.380 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6475 tests, 2 failures, 0 errors in 4 minutes 0.217 seconds.
FAILED (failures=2)
More information about the Zope-tests
mailing list