[Zope-PAS] Re: Broken tests with Zope 2.8?

Tres Seaver tseaver at palladion.com
Sun Aug 14 14:22:38 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sidnei da Silva wrote:
> 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?

Nope.  I did fix an unrelated glitch in the testcase just now, but the
head doesn't show that error (it *does* spew a bunch of "The following
test left garbage:...." warnings.

Note that I am not using Python 2.4.x, but don't know that it would
contribute to your reported problem.

Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC/4vt+gerLs4ltQ4RAmwBAKDIrQlybBiBawGB8vXvUm+j3Zjl2ACgizJ9
Wj4yLXSk0Wz4AoBwiF3e/e8=
=CTNS
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list