[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_add.py:1.4
Jim Fulton
jim@zope.com
Fri, 7 Feb 2003 10:49:09 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv23045/browser/form/tests
Modified Files:
test_add.py
Log Message:
Cleaned up the layout of the browser configuration a bit.
Moved some container traversal browser configs from zope.app.container
to zope.app.browser.
=== Zope3/src/zope/app/browser/form/tests/test_add.py 1.3 => 1.4 ===
--- 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 Fri Feb 7 10:48:38 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,