[Zope3-checkins] CVS: zopeproducts/zwiki/tests - test_wikipagehierarchy.py:1.3

Stephan Richter srichter@cbu.edu
Sat, 5 Apr 2003 20:01:04 -0500


Update of /cvs-repository/zopeproducts/zwiki/tests
In directory cvs.zope.org:/tmp/cvs-serv24757/tests

Modified Files:
	test_wikipagehierarchy.py 
Log Message:
Added icons.


=== zopeproducts/zwiki/tests/test_wikipagehierarchy.py 1.2 => 1.3 ===
--- zopeproducts/zwiki/tests/test_wikipagehierarchy.py:1.2	Sat Apr  5 16:38:11 2003
+++ zopeproducts/zwiki/tests/test_wikipagehierarchy.py	Sat Apr  5 20:01:04 2003
@@ -49,19 +49,19 @@
 
     def test_parents(self):
         hier = self.makeTestObject()
-        self.assertEqual([], hier.parents)
-        hier.parents = ['foo']
-        self.assertEqual(['foo'], hier.parents)
+        self.assertEqual((), hier.parents)
+        hier.parents = ('foo',)
+        self.assertEqual(('foo',), hier.parents)
         # Test whether the annotations stay.
         hier = self.makeTestObject()
-        self.assertEqual(['foo'], hier.parents)
+        self.assertEqual(('foo',), hier.parents)
 
     def test_reparent(self):
         hier = self.makeTestObject()
-        hier.parents = ['foo']
-        self.assertEqual(['foo'], hier.parents)
-        hier.reparent(['bar'])
-        self.assertEqual(['bar'], hier.parents)
+        hier.parents = ('foo',)
+        self.assertEqual(('foo',), hier.parents)
+        hier.reparent(('bar',))
+        self.assertEqual(('bar',), hier.parents)
 
 
 def test_suite():