[Zope3-checkins] CVS: Zope3/src/zope/app/form/tests -
test_utility.py:1.23
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Mar 19 15:26:56 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/form/tests
In directory cvs.zope.org:/tmp/cvs-serv11576/src/zope/app/form/tests
Modified Files:
test_utility.py
Log Message:
Updated to reflect changes in Publisher API.
=== Zope3/src/zope/app/form/tests/test_utility.py 1.22 => 1.23 ===
--- Zope3/src/zope/app/form/tests/test_utility.py:1.22 Thu Mar 18 12:01:12 2004
+++ Zope3/src/zope/app/form/tests/test_utility.py Fri Mar 19 15:26:26 2004
@@ -11,9 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""XXX short summary goes here.
-
-XXX longer description goes here.
+"""Form Utilities Tests
$Id$
"""
@@ -22,12 +20,13 @@
from zope.interface import Interface, implements
from zope.component.interfaces import IViewFactory
from zope.component.exceptions import ComponentLookupError
-from zope.publisher.browser import BrowserView, TestRequest
+from zope.publisher.browser import TestRequest
from zope.schema import Field
from zope.schema.interfaces import IField
from zope.app.tests import ztapi
+from zope.app.publisher.browser import BrowserView
from zope.app.form import Widget
from zope.app.form.interfaces import IWidget, IInputWidget
from zope.app.form.interfaces import IDisplayWidget, WidgetsError
@@ -500,7 +499,7 @@
>>> setUpWidgets(view, IContent, IWidget, 'prefix', True,
... initial={ "bar":"Bar" },
... context="Alt Context")
- view: <class 'zope.publisher.browser.BrowserView'>
+ view: <class 'zope.app.publisher.browser.BrowserView'>
name: foo
field: <class 'zope.app.form.tests.test_utility.Foo'>
viewType: <class 'zope.interface.interface.InterfaceClass'>
@@ -509,7 +508,7 @@
ignoreStickyValues: True
context: Alt Context
---
- view: <class 'zope.publisher.browser.BrowserView'>
+ view: <class 'zope.app.publisher.browser.BrowserView'>
name: bar
field: <class 'zope.app.form.tests.test_utility.Bar'>
viewType: <class 'zope.interface.interface.InterfaceClass'>
More information about the Zope3-Checkins
mailing list