[Zope-tests] FAILED (failures=7) : Zope-trunk Python-2.4.5 : Linux

Zope Tests zope-tests at epy.co.at
Mon Feb 2 20:50:11 EST 2009


Zope Tests : FAILED (failures=7) 
Zope-trunk Python-2.4.5 : Linux

Running /usr/local/python2.4/bin/python test.py -q --all
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.533 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.107 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
  Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.001 seconds.
  Set up OFS.tests.testCopySupportHooks.HookLayer in 0.473 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.105 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 23.628 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.073 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.003 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.formlib.tests.FormlibLayer in 1.944 seconds.
  Ran 11 tests with 0 failures and 0 errors in 0.022 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.255 seconds.
  Ran 160 tests with 0 failures and 0 errors in 4.270 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/python24-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 testRegisterAndCompileTranslations (zope.i18n.tests.test_zcml.DirectivesTest)
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-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.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: u"I'm a newer file" != u"I'm a newer file translated"



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/publisher/tests/../paste.txt", line 44, in paste.txt
Failed example:
    app_factory = pkg_resources.load_entry_point(
        'zope.publisher', 'paste.app_factory', 'main')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest paste.txt[1]>", line 1, in ?
        app_factory = pkg_resources.load_entry_point(
      File "/usr/local/python2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 277, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "/usr/local/python2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 270, in get_distribution
        if isinstance(dist,Requirement): dist = get_provider(dist)
      File "/usr/local/python2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 156, in get_provider
        return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
      File "/usr/local/python2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 626, in require
        needed = self.resolve(parse_requirements(requirements))
      File "/usr/local/python2.4/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 524, in resolve
        raise DistributionNotFound(req)  # XXX put more info here
    DistributionNotFound: zope.publisher
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/publisher/tests/../paste.txt", line 47, in paste.txt
Failed example:
    app = app_factory(dict(global_option=42), 
                      publication='egg:zope.publisher#sample',
                      app_option=1)
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest paste.txt[2]>", line 1, in ?
        app = app_factory(dict(global_option=42),
    NameError: name 'app_factory' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/publisher/tests/../paste.txt", line 63, in paste.txt
Failed example:
    for data in app(env, start_response):
        print data,
    # doctest: +NORMALIZE_WHITESPACE
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest paste.txt[6]>", line 1, in ?
        for data in app(env, start_response):
    NameError: name 'app' is not defined

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:
testLargeBody (zope.server.http.tests.test_httpserver.Tests)
New thread(s): [<_DummyThread(Dummy-60, started daemon)>]
  Ran 6024 tests with 2 failures and 0 errors in 3 minutes 28.113 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.252 seconds.


Failure in test test_absolute_url (zope.traversing.tests.test_vhosting.TestVirtualHosting)
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-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/python24-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
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.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-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/python24-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
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.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-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/python24-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
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.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-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/python24-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
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.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-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/python24-zope212/lib/python/zope/traversing/tests/test_vhosting.py", line 176, in verify
    self.assertEquals(result.getBody(), content)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 'http://localhost/@@/quux\n' != 'http://localhost/@@/quux'

  Ran 7 tests with 5 failures and 0 errors in 0.266 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6881 tests, 7 failures, 0 errors in 4 minutes 8.854 seconds.

FAILED (failures=7) 


More information about the Zope-tests mailing list