~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_diff.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-01 11:37:40 UTC
  • mfrom: (14612.2.10 oh-god-so-many-imports)
  • Revision ID: launchpad@pqm.canonical.com-20120101113740-o241xl1m2njr25qn
[r=wgrant][no-qa] Post-apocalyptic tree-wide format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import transaction
19
19
from zope.security.proxy import removeSecurityProxy
20
20
 
21
 
from lp.services.webapp import canonical_url
22
 
from lp.services.webapp.testing import verifyObject
23
 
from lp.testing.layers import (
24
 
    LaunchpadFunctionalLayer,
25
 
    LaunchpadZopelessLayer,
26
 
    )
27
21
from lp.app.errors import NotFoundError
28
22
from lp.code.interfaces.diff import (
29
23
    IDiff,
35
29
    PreviewDiff,
36
30
    )
37
31
from lp.code.model.directbranchcommit import DirectBranchCommit
 
32
from lp.services.webapp import canonical_url
 
33
from lp.services.webapp.testing import verifyObject
38
34
from lp.testing import (
39
35
    login,
40
36
    login_person,
41
37
    TestCaseWithFactory,
42
38
    )
 
39
from lp.testing.layers import (
 
40
    LaunchpadFunctionalLayer,
 
41
    LaunchpadZopelessLayer,
 
42
    )
43
43
 
44
44
 
45
45
class RecordLister(logging.Handler):