[Zope-tests] FAILED (failures=2,
errors=1) : Zope-2.9 Python-2.4.3 : Linux
Zope Unit Tests
zope-tests at epy.co.at
Fri Sep 1 21:27:24 EDT 2006
Zope Unit Tests : FAILED (failures=2, errors=1)
Zope-2.9 Python-2.4.3 : Linux
Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:
Failure in test /home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/pages.txt
Failed doctest test for pages.txt
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/pages.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/pages.txt", line 312, in pages.txt
Failed example:
print view()
Expected:
<html><body><img alt=""
src="http://nohost/test_folder_1_/testoid/++resource++pattern.png" /></body></html>
Got:
<html><body><img alt=""
src="http://127.0.0.1:55166/test_folder_1_/testoid/++resource++pattern.png" /></body></html>
<BLANKLINE>
Failure in test /home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt
Failed doctest test for resource.txt
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 34, in resource.txt
Failed example:
resource()
Expected:
'http://nohost/test_folder_1_/testoid/++resource++cockatiel.html'
Got:
'http://127.0.0.1:55166/test_folder_1_/testoid/++resource++cockatiel.html'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 43, in resource.txt
Failed example:
resource()
Expected:
'http://nohost/test_folder_1_/testoid/++resource++style.css'
Got:
'http://127.0.0.1:55166/test_folder_1_/testoid/++resource++style.css'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 52, in resource.txt
Failed example:
resource()
Expected:
'http://nohost/test_folder_1_/testoid/++resource++pattern.png'
Got:
'http://127.0.0.1:55166/test_folder_1_/testoid/++resource++pattern.png'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 61, in resource.txt
Failed example:
abs_url + '/' == base_url % ''
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/browser/tests/resource.txt", line 66, in resource.txt
Failed example:
for r in dir_resource_names:
resource = self.folder.unrestrictedTraverse(base % r)
self.assert_(isinstance(resource, Resource))
if not isinstance(resource, PageTemplateResource):
self.assertEquals(resource(), base_url % r)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/zope/testing/doctest.py", line 1256, in __run
compileflags, 1) in test.globs
File "<doctest resource.txt[23]>", line 5, in ?
self.assertEquals(resource(), base_url % r)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 'http://127.0.0.1:55166/test_folder_1_/testoid/++resource++fivetest_resources/pattern.png' != 'http://nohost/test_folder_1_/testoid/++resource++fivetest_resources/pattern.png'
The following test left new threads behind:
testURLAccessProtectedObject (Testing.ZopeTestCase.testWebserver.TestWebserver)
New thread(s): [<_DummyThread(Dummy-3, started daemon)>, <_DummyThread(Dummy-2, started daemon)>]
Error in test testSetupZServerThreads (Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Zope2/Startup/tests/testStarter.py", line 170, in testSetupZServerThreads
starter.setupZServer()
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Zope2/Startup/__init__.py", line 190, in setupZServer
ZServer.setNumberOfThreads(self.cfg.zserver_threads)
File "/home/stefan/autotest/temp/python24-zope29/lib/python/ZServer/PubCore/__init__.py", line 30, in setNumberOfThreads
del setNumberOfThreads
NameError: global name 'setNumberOfThreads' is not defined
Ran 4900 tests with 2 failures and 1 errors in 186.312 seconds.
Running Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer tests:
Set up Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer in 0.006 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.022 seconds.
Tearing down left over layers:
Tear down Testing.ZopeTestCase.zopedoctest.test_layerextraction.TestLayer in 0.003 seconds.
Total: 4902 tests, 2 failures, 1 errors
FAILED (failures=2, errors=1)
More information about the Zope-tests
mailing list