[Zope-tests] FAILED (errors=1) : Zope-2_7-branch Python-2.4 : Linux

Zope Unit Tests zope-tests at epy.co.at
Mon Feb 21 23:08:18 EST 2005


Zope Unit Tests : FAILED (errors=1)
Zope-2_7-branch Python-2.4 : Linux

Running /usr/local/python2.4/bin/python test.py
/usr/local/python2.4/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Script (Python):filepath:1: DeprecationWarning: integer argument expected, got float
======================================================================
ERROR: test_bound_used_context_method_w_roles (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/autotest/temp/python24-zope27/lib/python/AccessControl/tests/testBindings.py", line 308, in test_bound_used_context_method_w_roles
    self.assertEqual(ps(), 'method called')
  File "/autotest/temp/python24-zope27/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/autotest/temp/python24-zope27/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/autotest/temp/python24-zope27/lib/python/Products/PythonScripts/PythonScript.py", line 323, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 1, in ps
  File "/autotest/temp/python24-zope27/lib/python/Shared/DC/Scripts/Bindings.py", line 176, in __getattr__
    self.__you_lose()
  File "/autotest/temp/python24-zope27/lib/python/Shared/DC/Scripts/Bindings.py", line 182, in __you_lose
    raise Unauthorized('Not authorized to access binding: %s' % name)
Unauthorized: Not authorized to access binding: context

----------------------------------------------------------------------
Ran 2452 tests in 269.365s

FAILED (errors=1)


More information about the Zope-tests mailing list