[Zope-tests] FAILED (failures=8) : Zope-trunk-alltests Python-2.4.6 : Linux
Zope Tests
zope-tests at epy.co.at
Sun Apr 19 20:55:05 EDT 2009
Zope Tests : FAILED (failures=8)
Zope-trunk-alltests Python-2.4.6 : Linux
Running /usr/local/python2.4/bin/python ./bin/alltests --all
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.499 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.151 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.491 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.108 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/python24-zope212all/eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py:685: UserWarning: The set_schema option of the <require /> directive is not supported in Zope 2. Ignored for Products.Five.tests.test_security.Dummy3
actions = self.handler(context, **args)
/home/stefan/autotest/temp/python24-zope212all/eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py:685: UserWarning: The set_attribute option of the <require /> directive is not supported in Zope 2. Ignored for Products.Five.tests.test_security.Dummy4
actions = self.handler(context, **args)
Ran 641 tests with 0 failures and 0 errors in 28.407 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.229 seconds.
Ran 16 tests with 0 failures and 0 errors in 0.523 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.002 seconds.
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.134 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.002 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.017 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/home/stefan/autotest/temp/python24-zope212all/eggs/zope.configuration-3.6.0-py2.4.egg/zope/configuration/config.py:194: DeprecationWarning: defaultView: The zope:defaultView directive has been deprecated in favor of the browser:defaultView directive. Will be gone in Zope 3.3.
obj = getattr(mod, oname)
in 2.447 seconds.
Ran 11 tests with 0 failures and 0 errors in 0.023 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.744 seconds.
Ran 160 tests with 0 failures and 0 errors in 3.760 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.
Failure in test test_documentation (zope.session.tests)
Failed doctest test for zope.session.tests.test_documentation
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 60, in test_documentation
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 93, in zope.session.tests.test_documentation
Failed example:
client_id = IClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[1]>", line 1, in ?
client_id = IClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 100, in zope.session.tests.test_documentation
Failed example:
session = ISession(request)[pkg_id]
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[3]>", line 1, in ?
session = ISession(request)[pkg_id]
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 101, in zope.session.tests.test_documentation
Failed example:
session['color'] = 'red'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[4]>", line 1, in ?
session['color'] = 'red'
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 103, in zope.session.tests.test_documentation
Failed example:
session2 = ISession(request)['products.bar']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[5]>", line 1, in ?
session2 = ISession(request)['products.bar']
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 104, in zope.session.tests.test_documentation
Failed example:
session2['color'] = 'blue'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[6]>", line 1, in ?
session2['color'] = 'blue'
NameError: name 'session2' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 106, in zope.session.tests.test_documentation
Failed example:
session['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[7]>", line 1, in ?
session['color']
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 108, in zope.session.tests.test_documentation
Failed example:
session2['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[8]>", line 1, in ?
session2['color']
NameError: name 'session2' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 124, in zope.session.tests.test_documentation
Failed example:
sdc[client_id][pkg_id] is session
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[11]>", line 1, in ?
sdc[client_id][pkg_id] is session
NameError: name 'client_id' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 126, in zope.session.tests.test_documentation
Failed example:
sdc[client_id][pkg_id]['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[12]>", line 1, in ?
sdc[client_id][pkg_id]['color']
NameError: name 'client_id' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 134, in zope.session.tests.test_documentation
Failed example:
ISession(request)['unknown'] \
is zope.component.getUtility(ISessionDataContainer)[client_id]\
['unknown']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[13]>", line 1, in ?
ISession(request)['unknown'] \
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 144, in zope.session.tests.test_documentation
Failed example:
ISessionData.providedBy(sdc[client_id])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[14]>", line 1, in ?
ISessionData.providedBy(sdc[client_id])
NameError: name 'client_id' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 146, in zope.session.tests.test_documentation
Failed example:
ISessionPkgData.providedBy(sdc[client_id][pkg_id])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[15]>", line 1, in ?
ISessionPkgData.providedBy(sdc[client_id][pkg_id])
NameError: name 'client_id' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 160, in zope.session.tests.test_documentation
Failed example:
session['oops'] = open(__file__)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.tests.test_documentation[17]>", line 1, in ?
session['oops'] = open(__file__)
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/tests.py", line 162, in zope.session.tests.test_documentation
Failed example:
transaction.commit()
Expected:
Traceback (most recent call last):
[...]
TypeError: can't pickle file objects
Got nothing
Failure in test ClientId (zope.session.session)
Failed doctest test for zope.session.session.ClientId
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 48, in ClientId
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 54, in zope.session.session.ClientId
Failed example:
id1 = ClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.ClientId[2]>", line 1, in ?
id1 = ClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 55, in zope.session.session.ClientId
Failed example:
id2 = ClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.ClientId[3]>", line 1, in ?
id2 = ClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 56, in zope.session.session.ClientId
Failed example:
id1 == id2
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.ClientId[4]>", line 1, in ?
id1 == id2
NameError: name 'id1' is not defined
Failure in test __getitem__ (zope.session.session.Session)
Failed doctest test for zope.session.session.Session.__getitem__
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 385, in __getitem__
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 392, in zope.session.session.Session.__getitem__
Failed example:
ISession.providedBy(Session(request))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[3]>", line 1, in ?
ISession.providedBy(Session(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 397, in zope.session.session.Session.__getitem__
Failed example:
session1 = Session(request)['products.foo']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[4]>", line 1, in ?
session1 = Session(request)['products.foo']
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 398, in zope.session.session.Session.__getitem__
Failed example:
session2 = Session(request)['products.bar']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[5]>", line 1, in ?
session2 = Session(request)['products.bar']
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 399, in zope.session.session.Session.__getitem__
Failed example:
session3 = Session(request2)['products.bar']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[6]>", line 1, in ?
session3 = Session(request2)['products.bar']
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 404, in zope.session.session.Session.__getitem__
Failed example:
session1 is Session(request)['products.foo']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[7]>", line 1, in ?
session1 is Session(request)['products.foo']
NameError: name 'session1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 409, in zope.session.session.Session.__getitem__
Failed example:
ISessionPkgData.providedBy(session1)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[8]>", line 1, in ?
ISessionPkgData.providedBy(session1)
NameError: name 'session1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 414, in zope.session.session.Session.__getitem__
Failed example:
session1['color'] = 'red'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[9]>", line 1, in ?
session1['color'] = 'red'
NameError: name 'session1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 415, in zope.session.session.Session.__getitem__
Failed example:
session2['color'] = 'blue'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[10]>", line 1, in ?
session2['color'] = 'blue'
NameError: name 'session2' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 416, in zope.session.session.Session.__getitem__
Failed example:
session3['color'] = 'vomit'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[11]>", line 1, in ?
session3['color'] = 'vomit'
NameError: name 'session3' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 417, in zope.session.session.Session.__getitem__
Failed example:
session1['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[12]>", line 1, in ?
session1['color']
NameError: name 'session1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 419, in zope.session.session.Session.__getitem__
Failed example:
session2['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[13]>", line 1, in ?
session2['color']
NameError: name 'session2' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 421, in zope.session.session.Session.__getitem__
Failed example:
session3['color']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.__getitem__[14]>", line 1, in ?
session3['color']
NameError: name 'session3' is not defined
Failure in test get (zope.session.session.Session)
Failed doctest test for zope.session.session.Session.get
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 341, in get
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 350, in zope.session.session.Session.get
Failed example:
session = Session(request).get('not.there', 'default')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[2]>", line 1, in ?
session = Session(request).get('not.there', 'default')
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 351, in zope.session.session.Session.get
Failed example:
session
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[3]>", line 1, in ?
session
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 355, in zope.session.session.Session.get
Failed example:
session = Session(request).get('not.there')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[4]>", line 1, in ?
session = Session(request).get('not.there')
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 356, in zope.session.session.Session.get
Failed example:
session is None
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[5]>", line 1, in ?
session is None
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 360, in zope.session.session.Session.get
Failed example:
session = Session(request)['not.there']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[6]>", line 1, in ?
session = Session(request)['not.there']
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 361, in zope.session.session.Session.get
Failed example:
session is None
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[7]>", line 1, in ?
session is None
NameError: name 'session' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 363, in zope.session.session.Session.get
Failed example:
session = Session(request).get('not.there')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[8]>", line 1, in ?
session = Session(request).get('not.there')
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 330, in __init__
self.client_id = str(IClientId(request))
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 193, in adapter_hook
return sitemanager.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 207, in queryAdapter
return self.adapters.queryAdapter(object, interface, name, default)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 67, in __new__
zope.component.getUtility(IClientIdManager).getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/session.py", line 364, in zope.session.session.Session.get
Failed example:
session is None
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.session.Session.get[9]>", line 1, in ?
session is None
NameError: name 'session' is not defined
Failure in test generateUniqueId (zope.session.http.CookieClientIdManager)
Failed doctest test for zope.session.http.CookieClientIdManager.generateUniqueId
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 249, in generateUniqueId
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 253, in zope.session.http.CookieClientIdManager.generateUniqueId
Failed example:
id1 = bim.generateUniqueId()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.generateUniqueId[1]>", line 1, in ?
id1 = bim.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 254, in zope.session.http.CookieClientIdManager.generateUniqueId
Failed example:
id2 = bim.generateUniqueId()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.generateUniqueId[2]>", line 1, in ?
id2 = bim.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 255, in zope.session.http.CookieClientIdManager.generateUniqueId
Failed example:
id1 != id2
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.generateUniqueId[3]>", line 1, in ?
id1 != id2
NameError: name 'id1' is not defined
Failure in test getClientId (zope.session.http.CookieClientIdManager)
Failed doctest test for zope.session.http.CookieClientIdManager.getClientId
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 145, in getClientId
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 153, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id = bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[3]>", line 1, in ?
id = bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 154, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id == bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[4]>", line 1, in ?
id == bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 164, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id == bim.getClientId(request2)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[7]>", line 1, in ?
id == bim.getClientId(request2)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 173, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
type(id) == type('')
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 187, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id == bim.getClientId(request2)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[12]>", line 1, in ?
id == bim.getClientId(request2)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 190, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
bool(request2.response._cookies)
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 207, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id = bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[19]>", line 1, in ?
id = bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 208, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
id == bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getClientId[20]>", line 1, in ?
id == bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 211, in zope.session.http.CookieClientIdManager.getClientId
Failed example:
request.response.getCookie(bim.namespace) is not None
Expected:
True
Got:
False
Failure in test getRequestId (zope.session.http.CookieClientIdManager)
Failed doctest test for zope.session.http.CookieClientIdManager.getRequestId
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 267, in getRequestId
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 285, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
id1 = bim.generateUniqueId()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[4]>", line 1, in ?
id1 = bim.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 286, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
bim.setRequestId(request, id1)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[5]>", line 1, in ?
bim.setRequestId(request, id1)
NameError: name 'id1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 290, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
bim.getRequestId(request) == id1
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[6]>", line 1, in ?
bim.getRequestId(request) == id1
NameError: name 'id1' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 310, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
id_uni = unicode(bim.generateUniqueId())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[10]>", line 1, in ?
id_uni = unicode(bim.generateUniqueId())
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 311, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
bim.setRequestId(request, id_uni)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[11]>", line 1, in ?
bim.setRequestId(request, id_uni)
NameError: name 'id_uni' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 312, in zope.session.http.CookieClientIdManager.getRequestId
Failed example:
bim.getRequestId(request) == id_uni
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.getRequestId[12]>", line 1, in ?
bim.getRequestId(request) == id_uni
NameError: name 'id_uni' is not defined
Failure in test setRequestId (zope.session.http.CookieClientIdManager)
Failed doctest test for zope.session.http.CookieClientIdManager.setRequestId
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 354, in setRequestId
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 386, in zope.session.http.CookieClientIdManager.setRequestId
Failed example:
bid = bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.setRequestId[11]>", line 1, in ?
bid = bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 388, in zope.session.http.CookieClientIdManager.setRequestId
Failed example:
cookie['expires']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.setRequestId[13]>", line 1, in ?
cookie['expires']
TypeError: unsubscriptable object
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 395, in zope.session.http.CookieClientIdManager.setRequestId
Failed example:
bid = bim.getClientId(request)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.setRequestId[16]>", line 1, in ?
bid = bim.getClientId(request)
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
sid = self.generateUniqueId()
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 107, in new
return HMAC(key, msg, digestmod)
File "/usr/local/python2.4/lib/python2.4/hmac.py", line 42, in __init__
self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 398, in zope.session.http.CookieClientIdManager.setRequestId
Failed example:
expires = time.mktime(rfc822.parsedate(cookie['expires']))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.setRequestId[19]>", line 1, in ?
expires = time.mktime(rfc822.parsedate(cookie['expires']))
TypeError: unsubscriptable object
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 399, in zope.session.http.CookieClientIdManager.setRequestId
Failed example:
expires > time.mktime(time.gmtime()) + 55*60
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212all/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest zope.session.http.CookieClientIdManager.setRequestId[20]>", line 1, in ?
expires > time.mktime(time.gmtime()) + 55*60
NameError: name 'expires' is not defined
Ran 5857 tests with 8 failures and 0 errors in 3 minutes 30.705 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.262 seconds.
Ran 7 tests with 0 failures and 0 errors in 0.523 seconds.
Tearing down left over layers:
Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6740 tests, 8 failures, 0 errors in 4 minutes 19.131 seconds.
FAILED (failures=8)
More information about the Zope-tests
mailing list