[Zope-tests] FAILED (failures=3, errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux
Zope Tests
zope-tests at epy.co.at
Thu Apr 2 20:59:09 EDT 2009
Zope Tests : FAILED (failures=3, errors=1)
Zope-trunk-alltests Python-2.6.1 : Linux
Running /usr/local/python2.6/bin/python ./bin/alltests --all
/home/stefan/autotest/temp/python26-zope212all/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py:151: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (len( self._index.uniqueValues( 'foo' ) ) == len( values )-1,
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.session-3.8.1-py2.6.egg/zope/session/http.py:22: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 1.395 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.115 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.257 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.219 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.
/home/stefan/autotest/temp/python26-zope212all/src/Testing/ZopeTestCase/zopedoctest/functional.py:295: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
"Please fix that."), UserWarning, 4)
Ran 632 tests with 0 failures and 0 errors in 31.413 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.306 seconds.
Ran 16 tests with 0 failures and 0 errors in 0.440 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.003 seconds.
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.084 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.015 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/usr/local/python2.6/lib/python2.6/mhlib.py:83: DeprecationWarning: the multifile module has been deprecated since Python 2.5
import multifile
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.configuration-3.5.0-py2.6.egg/zope/configuration/config.py:181: DeprecationWarning: the md5 module is deprecated; use hashlib instead
mod = __import__(mname, *_import_chickens)
in 3.589 seconds.
Ran 11 tests with 0 failures and 0 errors in 0.070 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.821 seconds.
Ran 160 tests with 0 failures and 0 errors in 4.046 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/python26-zope212all/src/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/python26-zope212all/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py:178: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
/home/stefan/autotest/temp/python26-zope212all/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py:2046: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
directive_error.message)
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:83: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:81: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = "database conflict error"
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:122: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return self.message
Failure in test test_functionattribute (ZPublisher.tests.test_xmlrpc.XMLRPCResponseTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212all/src/ZPublisher/tests/test_xmlrpc.py", line 192, in test_functionattribute
self.assertRaises(xmlrpclib.Fault, xmlrpclib.loads, faux._body)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 342, in failUnlessRaises
raise self.failureException, "%s not raised" % excName
AssertionError: Fault not raised
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:120: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return "%s (%s)" % (self.message, ", ".join(extras))
Failure in test hookable (zope)
Failed doctest test for zope.hookable
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.hookable-3.4.0-py2.6-linux-i686.egg/zope/hookable/__init__.py", line 13, in hookable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.hookable-3.4.0-py2.6-linux-i686.egg/zope/hookable/__init__.py", line 60, in zope.hookable
Failed example:
g = hookable() # not enough args
Expected:
Traceback (most recent call last):
...
TypeError: hookable() takes exactly 1 argument (0 given)
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.hookable[14]>", line 1, in <module>
g = hookable() # not enough args
TypeError: Required argument 'implementation' (pos 1) not found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.hookable-3.4.0-py2.6-linux-i686.egg/zope/hookable/__init__.py", line 65, in zope.hookable
Failed example:
g = hookable(f, f) # too many args
Expected:
Traceback (most recent call last):
...
TypeError: hookable() takes exactly 1 argument (2 given)
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.hookable[15]>", line 1, in <module>
g = hookable(f, f) # too many args
TypeError: hookable() takes at most 1 argument (2 given)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.hookable-3.4.0-py2.6-linux-i686.egg/zope/hookable/__init__.py", line 72, in zope.hookable
Failed example:
g = hookable(f, madeupkeywordname=f) # bad kw name
Expected:
Traceback (most recent call last):
...
TypeError: 'madeupkeywordname' is an invalid keyword argument for this function
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.hookable[17]>", line 1, in <module>
g = hookable(f, madeupkeywordname=f) # bad kw name
TypeError: hookable() takes at most 1 argument (2 given)
Failure in test test_post_body_not_necessarily (zope.publisher.tests.test_browserrequest.BrowserTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.publisher-3.5.6-py2.6.egg/zope/publisher/tests/test_browserrequest.py", line 497, in test_post_body_not_necessarily
self.assertEqual(dict(request.form), dict(x='1', y='2'))
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: {u'y': u'2', u'x': u'1', u'b': 6, u'a': u'5'} != {'y': '2', 'x': '1'}
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.publisher-3.5.6-py2.6.egg/zope/publisher/interfaces/__init__.py:84: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
Error in test test_entities (zope.tal.tests.test_talinterpreter.OutputPresentationTestCase)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 713, in test_entities
self.compare(INPUT, EXPECTED)
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 716, in compare
program, macros = self._compile(INPUT)
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 43, in _compile
parser.parseString(source)
File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/htmltalparser.py", line 128, in parseString
self.feed(data)
File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 249, in parse_starttag
attrvalue = self.unescape(attrvalue)
File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 387, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "/usr/local/python2.6/lib/python2.6/re.py", line 150, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 372, in replaceEntities
c = int(s)
ValueError: invalid literal for int() with base 10: '0a'
Ran 5834 tests with 3 failures and 1 errors in 3 minutes 49.124 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.416 seconds.
Ran 7 tests with 0 failures and 0 errors in 1.075 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.008 seconds.
Total: 6708 tests, 3 failures, 1 errors in 4 minutes 45.775 seconds.
FAILED (failures=3, errors=1)
More information about the Zope-tests
mailing list