[Zope-PAS] Broken tests with Zope 2.8?

Sidnei da Silva sidnei at enfoldsystems.com
Sat Aug 13 00:42:16 EDT 2005


Running tests with Zope 2.8 results in some errors like these:

======================================================================
ERROR: test_validate_with_anonymous_factory
(tests.test_PluggableAuthService.PluggableAuthServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File
  "/home/sidnei/src/instance/pas/Products/PluggableAuthService/tests/test_PluggableAuthService.py", line 1399, in test_validate_with_anonymous_factory
    directlyProvides( anon, ( IAnonymousUserFactoryPlugin, ) )
  File
  "/home/sidnei/src/zope/2_8/lib/python/zope/interface/declarations.py", line 897, in directlyProvides
    interfaces = _normalizeargs(interfaces)
  File
  "/home/sidnei/src/zope/2_8/lib/python/zope/interface/declarations.py", line 1345, in _normalizeargs
    _normalizeargs(v, output)
  File
  "/home/sidnei/src/zope/2_8/lib/python/zope/interface/declarations.py", line 1345, in _normalizeargs
    _normalizeargs(v, output)
  File
  "/home/sidnei/src/zope/2_8/lib/python/zope/interface/declarations.py", line 1344, in _normalizeargs
    for v in sequence:
TypeError: iteration over non-sequence

Anyone sees the same problem?

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the Zope-PAS mailing list