[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_add.py:1.3

Jim Fulton jim@zope.com
Fri, 27 Dec 2002 11:04:53 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv20894

Modified Files:
	test_add.py 
Log Message:
Updated tests to check for the new "add.pt" template, rather than
"edit.pt".


=== Zope3/src/zope/app/browser/form/tests/test_add.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/form/tests/test_add.py:1.2	Wed Dec 25 09:12:32 2002
+++ Zope3/src/zope/app/browser/form/tests/test_add.py	Fri Dec 27 11:04:53 2002
@@ -136,8 +136,8 @@
         self.assertEqual(label, 'Add this')
         self.assertEqual(permission, 'zope.Public')
         self.assertEqual(layer, 'default')
-        self.assertEqual(template, 'edit.pt')
-        self.assertEqual(default_template, 'edit.pt')
+        self.assertEqual(template, 'add.pt')
+        self.assertEqual(default_template, 'add.pt')
         self.assertEqual(bases, (V, AddView, ))
         self.assertEqual(for_, IAdding)
         self.assertEqual(" ".join(fields),