[Zope3-checkins] CVS: zopeproducts/z3checkins/ftests - test_z3checkins.py:1.3

Albertas Agejevas alga at pov.lt
Wed Sep 17 05:19:32 EDT 2003


Update of /cvs-repository/zopeproducts/z3checkins/ftests
In directory cvs.zope.org:/tmp/cvs-serv22094/ftests

Modified Files:
	test_z3checkins.py 
Log Message:
Fixed the functional tests.


=== zopeproducts/z3checkins/ftests/test_z3checkins.py 1.2 => 1.3 ===
--- zopeproducts/z3checkins/ftests/test_z3checkins.py:1.2	Mon Sep  8 06:36:31 2003
+++ zopeproducts/z3checkins/ftests/test_z3checkins.py	Wed Sep 17 05:19:30 2003
@@ -11,8 +11,7 @@
 
 class TestCheckins(BrowserTestCase):
 
-    container_views = ('index.html', 'checkins.html',
-                       'checkins-sidebar.html', 'checkins.rss')
+    container_views = ('index.html', 'checkins-sidebar.html', 'checkins.rss')
     message_views = ('index.html', 'index.txt')
     resources = ('zope3.png', 'product.png', 'branch.png', 'message.png')
 
@@ -27,6 +26,13 @@
                                 basic='mgr:mgrpw',
                                 form={'type_name': u'Folder', 'id': u'z3c'})
         self.assertEqual(response.getStatus(), 302)
+        response = self.publish(
+            '/z3c/@@objectMarker.html',
+            basic='mgr:mgrpw',
+            form={'ADD': 'Add',
+                  'add_zopeproducts.z3checkins.interfaces.ICheckinsFolder': 'on'})
+        self.assertEqual(response.getStatus(), 200)
+
 
     def test_empty(self):
         for view in self.container_views:




More information about the Zope3-Checkins mailing list