[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/tests/common.py - normalize directory names to get tests working with Python < 2.6
Yvo Schubbe
y.2009 at wcm-solutions.de
Sun Dec 13 06:44:03 EST 2009
Log message for revision 106441:
- normalize directory names to get tests working with Python < 2.6
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/tests/common.py
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tests/common.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tests/common.py 2009-12-13 11:19:13 UTC (rev 106440)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tests/common.py 2009-12-13 11:44:03 UTC (rev 106441)
@@ -121,7 +121,7 @@
self.assertEqual( len( items ), len( toc_list ) )
for i in range( len( items ) ):
- self.assertEqual( items[ i ], toc_list[ i ] )
+ self.assertEqual( items[ i ].rstrip('/'), toc_list[ i ] )
if when is not None:
for tarinfo in tarfile:
More information about the checkins
mailing list