[Zope-tests] FAILED (failures=1, errors=2) : Zope-trunk Python-2.4.4 : Linux

Zope Unit Tests zope-tests at epy.co.at
Sat Jan 13 21:19:29 EST 2007


Zope Unit Tests : FAILED (failures=1, errors=2)
Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:


Error in test testPutXMLIso8859_15 (Products.PageTemplates.tests.testZopePageTemplate.ZopePageTemplateFileTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 100, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py", line 200, in testPutXMLIso8859_15
    result = zpt.pt_render() # should not raise an exception
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 427, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render
    return super(PageTemplate, self).pt_render(c, source=source)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 111, in pt_render
    raise PTRuntimeError(str(self._v_errors))
PTRuntimeError: ['Compilation failed', "exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 51-57: ordinal not in range(128)"]



Error in test testPutXMLUTF8 (Products.PageTemplates.tests.testZopePageTemplate.ZopePageTemplateFileTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 100, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py", line 207, in testPutXMLUTF8
    result = zpt.pt_render() # should not raise an exception
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 427, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render
    return super(PageTemplate, self).pt_render(c, source=source)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 111, in pt_render
    raise PTRuntimeError(str(self._v_errors))
PTRuntimeError: ['Compilation failed', "exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 45-51: ordinal not in range(128)"]



Failure in test testCollector2261 (webdav.tests.testPUT_factory.TestPUTFactory)
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-zope211/lib/python/webdav/tests/testPUT_factory.py", line 83, in testCollector2261
    self.assertEqual(str(self.app.A.a), 'I am file a', 'PUT factory not should acquire content')
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: PUT factory not should acquire content

The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-39, started daemon)>, <_DummyThread(Dummy-38, started daemon)>, <_DummyThread(Dummy-36, started daemon)>]
  Ran 5993 tests with 1 failures and 2 errors in 264.710 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
  Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.021 seconds.
Tearing down left over layers:
  Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
Total: 5995 tests, 1 failures, 2 errors

FAILED (failures=1, errors=2)


More information about the Zope-tests mailing list