[Zope-CVS] CVS: Products/Ape/lib/apelib/tests - zope2testbase.py:1.5.2.4

Shane Hathaway shane at zope.com
Mon Feb 2 10:02:53 EST 2004


Update of /cvs-repository/Products/Ape/lib/apelib/tests
In directory cvs.zope.org:/tmp/cvs-serv26170/lib/apelib/tests

Modified Files:
      Tag: ape-0_8-branch
	zope2testbase.py 
Log Message:
Fixed the Zope 2.7 test failures


=== Products/Ape/lib/apelib/tests/zope2testbase.py 1.5.2.3 => 1.5.2.4 ===
--- Products/Ape/lib/apelib/tests/zope2testbase.py:1.5.2.3	Thu Dec 25 23:22:34 2003
+++ Products/Ape/lib/apelib/tests/zope2testbase.py	Mon Feb  2 10:02:51 2004
@@ -219,7 +219,7 @@
                         self.assertEqual(v, 3.14)
                     elif k == 'stuff':
                         got += 1
-                        self.assertEqual(v, ['a', 'bc', 'd'])
+                        self.assertEqual(tuple(v), ('a', 'bc', 'd'))
                 self.assertEqual(got, 3)
             finally:
                 conn2.close()
@@ -253,7 +253,7 @@
                 for k, v in app.Holidays.propertyItems():
                     if k == 'greek':
                         got += 1
-                        self.assertEqual(v, ['alpha', 'omega'])
+                        self.assertEqual(tuple(v), ('alpha', 'omega'))
                     if k == 'hebrew':
                         got += 1
                         self.assertEqual(v, 'alpha')




More information about the Zope-CVS mailing list