[Zope3-checkins] CVS: Zope3/src/zope/app/form/tests - test_utility.py:1.22 test_widget.py:1.9

Philipp von Weitershausen philikon at philikon.de
Thu Mar 18 12:01:43 EST 2004


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

Modified Files:
	test_utility.py test_widget.py 
Log Message:
The zope.app.form.widget module becomes zope.app.form. This makes sense
since widgets is really the only thing this package contains and it
shortens import paths.


=== Zope3/src/zope/app/form/tests/test_utility.py 1.21 => 1.22 ===
--- Zope3/src/zope/app/form/tests/test_utility.py:1.21	Sat Mar 13 16:37:25 2004
+++ Zope3/src/zope/app/form/tests/test_utility.py	Thu Mar 18 12:01:12 2004
@@ -20,32 +20,21 @@
 import doctest
 
 from zope.interface import Interface, implements
-
-from zope.app.tests import ztapi
-
 from zope.component.interfaces import IViewFactory
 from zope.component.exceptions import ComponentLookupError
-
-from zope.publisher.browser import BrowserView
-from zope.publisher.browser import TestRequest
+from zope.publisher.browser import BrowserView, TestRequest
 
 from zope.schema import Field
 from zope.schema.interfaces import IField
 
-from zope.app.form.widget import Widget
-
-from zope.app.form.interfaces import IWidget
-from zope.app.form.interfaces import IInputWidget
-from zope.app.form.interfaces import IDisplayWidget
-from zope.app.form.interfaces import WidgetsError
-
-from zope.app.form.utility import no_value
-from zope.app.form.utility import setUpWidget
-from zope.app.form.utility import setUpWidgets
-from zope.app.form.utility import setUpEditWidgets
-from zope.app.form.utility import setUpDisplayWidgets
-from zope.app.form.utility import getWidgetsData
-from zope.app.form.utility import viewHasInput
+from zope.app.tests import ztapi
+from zope.app.form import Widget
+from zope.app.form.interfaces import IWidget, IInputWidget
+from zope.app.form.interfaces import IDisplayWidget, WidgetsError
+
+from zope.app.form.utility import no_value, setUpWidget, setUpWidgets
+from zope.app.form.utility import setUpEditWidgets, setUpDisplayWidgets
+from zope.app.form.utility import getWidgetsData, viewHasInput
 from zope.app.form.utility import applyWidgetsChanges
 
 from zope.app.tests import placelesssetup


=== Zope3/src/zope/app/form/tests/test_widget.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/form/tests/test_widget.py:1.8	Sat Mar 13 16:37:25 2004
+++ Zope3/src/zope/app/form/tests/test_widget.py	Thu Mar 18 12:01:12 2004
@@ -15,14 +15,16 @@
 
 $Id$
 """
-from zope.testing.doctestunit import DocTestSuite
 from unittest import TestSuite, main, makeSuite
-from zope.app.form.widget import Widget, CustomWidgetFactory
-from zope.app.form.interfaces import IWidget
+from zope.testing.doctestunit import DocTestSuite
+
 from zope.interface.verify import verifyClass, verifyObject
-from zope.schema import Text
-from zope.publisher.browser import TestRequest
 from zope.component.interfaces import IViewFactory
+from zope.publisher.browser import TestRequest
+from zope.schema import Text
+
+from zope.app.form import Widget, CustomWidgetFactory
+from zope.app.form.interfaces import IWidget
 from zope.app.tests.placelesssetup import setUp, tearDown
 
 class TestContext:




More information about the Zope3-Checkins mailing list