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

Sidnei da Silva sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:01 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	test_add.py 
Log Message:
Updating from HEAD to make sure everything still works before merging

=== Zope3/src/zope/app/browser/form/tests/test_add.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/browser/form/tests/test_add.py:1.3	Fri Dec 27 11:04:53 2002
+++ Zope3/src/zope/app/browser/form/tests/test_add.py	Tue Feb 11 09:41:00 2003
@@ -21,6 +21,7 @@
 from zope.interface import Interface
 from zope.schema import TextLine
 from zope.app.interfaces.container import IAdding
+from zope.publisher.interfaces.browser import IBrowserPresentation
 from zope.app.form.widget import CustomWidget
 from zope.app.browser.form.widget import TextWidget as Text
 from zope.publisher.browser import TestRequest
@@ -122,8 +123,8 @@
 
 
         self.assertEqual(descriminator,
-                         ('http://namespaces.zope.org/form/add',
-                          "addthis", "default"))
+                         ('view', IAdding, "addthis", IBrowserPresentation,
+                          "default"))
         self.assertEqual(callable, AddViewFactory)
 
         (name, schema, label, permission, layer, template,