~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/widgets/tests/test_launchpadtarget.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-20 04:38:42 UTC
  • mfrom: (14550.1.2 refactor-imports-redux)
  • Revision ID: launchpad@pqm.canonical.com-20111220043842-5djlrud7wls7cqex
[r=stevenk][no-qa] Re-run format-imports over lib/lp and
 lib/canonical/launchpad.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import re
7
7
 
8
8
from BeautifulSoup import BeautifulSoup
9
 
 
 
9
from lazr.restful.fields import Reference
 
10
from zope.app.form.browser.interfaces import IBrowserWidget
 
11
from zope.app.form.interfaces import IInputWidget
10
12
from zope.interface import (
11
13
    implements,
12
14
    Interface,
13
15
    )
14
 
from zope.app.form.browser.interfaces import IBrowserWidget
15
 
from zope.app.form.interfaces import IInputWidget
16
 
 
17
 
from lazr.restful.fields import Reference
18
16
 
19
17
from canonical.launchpad.webapp.servers import LaunchpadTestRequest
20
18
from canonical.launchpad.webapp.testing import verifyObject
21
19
from canonical.testing.layers import DatabaseFunctionalLayer
 
20
from lp.app.validators import LaunchpadValidationError
22
21
from lp.app.widgets.launchpadtarget import LaunchpadTargetWidget
23
 
from lp.app.validators import LaunchpadValidationError
24
22
from lp.registry.vocabularies import (
 
23
    DistributionSourcePackageVocabulary,
25
24
    DistributionVocabulary,
26
 
    DistributionSourcePackageVocabulary,
27
25
    ProductVocabulary,
28
26
    )
29
27
from lp.services.features.testing import FeatureFixture