[Zope3-checkins] CVS: zopeproducts/zwiki/tests - test_wikipage.py:1.4

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 7 Apr 2003 03:09:18 -0400


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

Modified Files:
	test_wikipage.py 
Log Message:
Fixed test_comment according comment template.


=== zopeproducts/zwiki/tests/test_wikipage.py 1.3 => 1.4 ===
--- zopeproducts/zwiki/tests/test_wikipage.py:1.3	Mon Apr  7 02:39:47 2003
+++ zopeproducts/zwiki/tests/test_wikipage.py	Mon Apr  7 03:09:17 2003
@@ -53,9 +53,10 @@
         page.source = 'the source'
         page.comment('this is a comment', 'user')
         self.assertEqual(
-            'the source\n\nComment #1 by user\nthis is a comment',
+            "the source\n\n" + '-'*20 +
+            "\n\nComment #1 by user\nthis is a comment",
             page.source)
-        
+
 
 def test_suite():
     return unittest.TestSuite((