[Zope-CMF] GenericSetup test failures on Python 2.5's tarfile
Tres Seaver
tseaver at palladion.com
Mon Feb 16 13:10:27 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anybody have a clue what changed in the Python 2.5 tarfile module which
triggers these failures?
> [/home/tseaver/projects/CMF/CMF.buildout-trunk]
> $ bin/test -s Products.GenericSetup
> Running Testing.ZopeTestCase.layer.ZopeLite tests:
> Set up Testing.ZopeTestCase.layer.ZopeLite in 0.091 seconds.
>
>
> Failure in test test_getLastModified_directory (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 601, in test_getLastModified_directory
> self.assertEqual( ctx.getLastModified( SUBDIR ), WHEN )
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 334, in failUnlessEqual
> (msg or '%r != %r' % (first, second))
> AssertionError: None != DateTime('2004/01/01')
>
>
>
> Failure in test test_isDirectory_subdir (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 643, in test_isDirectory_subdir
> self.assertEqual( ctx.isDirectory( SUBDIR ), True )
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 334, in failUnlessEqual
> (msg or '%r != %r' % (first, second))
> AssertionError: None != True
>
>
>
> Error in test test_listDirectory_multiple (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 717, in test_listDirectory_multiple
> self.assertEqual( len( names ), 2 )
> TypeError: object of type 'NoneType' has no len()
>
>
>
> Error in test test_listDirectory_single (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 699, in test_listDirectory_single
> self.assertEqual( len( names ), 1 )
> TypeError: object of type 'NoneType' has no len()
>
>
>
> Error in test test_listDirectory_skip (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 740, in test_listDirectory_skip
> self.assertEqual( len( names ), 1 )
> TypeError: object of type 'NoneType' has no len()
>
> Ran 113 tests with 2 failures and 3 errors in 0.427 seconds.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJmawT+gerLs4ltQ4RAp+OAKCDQ12U6OhZgGz0o49IiUE0JSW2hgCfVw0V
2aC5puF5Y27LDKTkdUrJyTM=
=xxVI
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list