[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/ Cleanup
Julien Anguenot
ja at nuxeo.com
Mon Jul 25 08:52:56 EDT 2005
Log message for revision 37401:
Cleanup
Changed:
U Zope3/trunk/src/zope/app/form/browser/__init__.py
U Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/__init__.py 2005-07-25 06:34:23 UTC (rev 37400)
+++ Zope3/trunk/src/zope/app/form/browser/__init__.py 2005-07-25 12:52:55 UTC (rev 37401)
@@ -29,6 +29,7 @@
from zope.app.form.browser.textwidgets import DatetimeDisplayWidget
from zope.app.form.browser.textwidgets import DateDisplayWidget
from zope.app.form.browser.textwidgets import BytesDisplayWidget
+from zope.app.form.browser.textwidgets import URIDisplayWidget
# Widgets for boolean fields
from zope.app.form.browser.boolwidgets import CheckBoxWidget
Modified: Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py 2005-07-25 06:34:23 UTC (rev 37400)
+++ Zope3/trunk/src/zope/app/form/browser/tests/test_textwidget.py 2005-07-25 12:52:55 UTC (rev 37401)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# Copyright (c) 2001, 2002, 2004, 2005 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -24,9 +24,12 @@
from zope.publisher.browser import TestRequest
from zope.app.form.interfaces import IInputWidget
+
from zope.app.form.browser import TextWidget
-from zope.app.form.browser import DateDisplayWidget, DatetimeDisplayWidget
-from zope.app.form.browser.textwidgets import URIDisplayWidget
+from zope.app.form.browser import DateDisplayWidget
+from zope.app.form.browser import DatetimeDisplayWidget
+from zope.app.form.browser import URIDisplayWidget
+
from zope.app.testing.placelesssetup import setUp, tearDown
from zope.app.form.browser.tests.test_browserwidget import BrowserWidgetTest
from zope.app.form.browser.tests.test_browserwidget import SimpleInputWidgetTest
@@ -121,7 +124,6 @@
self._widget.extra = 'style="color: red"'
self.verifyResult(self._widget.hidden(), check_list)
-
class URIDisplayWidgetTest(BrowserWidgetTest):
_WidgetFactory = URIDisplayWidget
@@ -138,7 +140,6 @@
self.verifyResult(self._widget(), ["<a", 'href="uri:fake"',
'target="there"'])
-
class DateDisplayWidgetTest(BrowserWidgetTest):
_WidgetFactory = DateDisplayWidget
More information about the Zope3-Checkins
mailing list