[Zope3-checkins] CVS: zopeproducts/zwiki/tests - test_wiki.py:1.5 test_wikipage.py:1.8 test_sourcetype.py:NONE test_wikidirectives.py:NONE

Stephan Richter srichter@cosmos.phy.tufts.edu
Thu, 31 Jul 2003 14:01:28 -0400


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

Modified Files:
	test_wiki.py test_wikipage.py 
Removed Files:
	test_sourcetype.py test_wikidirectives.py 
Log Message:
Now that the renderer code moved to the core, we can remove it from here.


=== zopeproducts/zwiki/tests/test_wiki.py 1.4 => 1.5 ===
--- zopeproducts/zwiki/tests/test_wiki.py:1.4	Wed Apr  9 17:47:17 2003
+++ zopeproducts/zwiki/tests/test_wiki.py	Thu Jul 31 14:01:23 2003
@@ -34,6 +34,11 @@
     def test_interface(self):
         self.assert_(IWiki.isImplementedBy(self.makeTestObject()))
 
+    def getUnknownKey(self):
+        return '10'
+
+    def getBadKeyTypes(self):
+        return ['foo'], ('bar',), 20, 12.8
 
 def test_suite():
     return unittest.TestSuite((


=== zopeproducts/zwiki/tests/test_wikipage.py 1.7 => 1.8 ===
--- zopeproducts/zwiki/tests/test_wikipage.py:1.7	Wed Apr  9 17:47:17 2003
+++ zopeproducts/zwiki/tests/test_wikipage.py	Thu Jul 31 14:01:23 2003
@@ -38,7 +38,7 @@
 
     def test_type(self):
         page = self.makeTestObject()
-        self.assertEqual('Plain Text', page.type)
+        self.assertEqual('reStructured Text (reST)', page.type)
         page.type = 'foo'
         self.assertEqual('foo', page.type)
 

=== Removed File zopeproducts/zwiki/tests/test_sourcetype.py ===

=== Removed File zopeproducts/zwiki/tests/test_wikidirectives.py ===