Changeset 7854 for main


Ignore:
Timestamp:
12 Mar 2012, 17:01:12 (13 years ago)
Author:
uli
Message:

Clean up imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/widgets/tests/test_phonewidget.py

    r7852 r7854  
    2222z3.widget as doctests for the usphone widget.
    2323"""
    24 import unittest
    2524from zope import schema
    26 # XXX: could we possibly get rid of zope.app.testing?
    27 from zope.app.testing.setup import placefulSetUp, placefulTearDown
    28 from zope.component import provideAdapter, getGlobalSiteManager
     25from zope.component import getGlobalSiteManager
    2926from zope.formlib import form
    30 from zope.formlib.exception import WidgetInputErrorView
    31 from zope.formlib.interfaces import (
    32     WidgetInputError, IInputWidget, IBrowserWidget, IWidgetInputError,
    33     IWidgetInputErrorView)
    34 from zope.formlib.textwidgets import TextWidget
    35 from zope.interface import verify, Interface, implements
    36 from zope.publisher.browser import TestRequest
    37 from zope.publisher.interfaces.browser import IDefaultBrowserLayer
    38 from zope.schema.interfaces import ITextLine
    39 from waeup.kofa.widgets.phonewidget import PhoneWidget
    40 
    41 import zope.formlib
    42 from zope import schema
    43 from zope.formlib.tests.test_functional_objectwidget import (
    44     Test, PlacelessSetup, VerifyResults, traversingSetUp, xmlconfig,
    45     PageTemplate, os, DefaultTraversable
    46     )
    4727from zope.formlib.tests.test_functional_textwidget import(
    4828    FunctionalWidgetTestCase, patternExists)
    49 from zope.formlib.widgets import TextWidget
    50 from zope.component import adapts
    51 from zope.interface import implements
    52 from zope.traversing.interfaces import ITraversable
     29from zope.formlib.textwidgets import TextWidget
     30from zope.interface import Interface, implements
     31from zope.publisher.browser import TestRequest
     32from zope.schema.interfaces import ITextLine
    5333from waeup.kofa.widgets.phonewidget import PhoneWidget, PhonePrefixes
    5434
     
    8161        self.bar = 'bar'
    8262        self.baz = None
    83 
    84 
    8563
    8664class SampleForm(form.EditForm):
Note: See TracChangeset for help on using the changeset viewer.