~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_branchvisibility.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
    )
19
19
from zope.security.proxy import removeSecurityProxy
20
20
 
21
 
from lp.security import AccessBranch
22
 
from lp.services.webapp.authorization import (
23
 
    check_permission,
24
 
    clear_cache,
25
 
    )
26
 
from lp.services.webapp.interaction import ANONYMOUS
27
 
from lp.testing.layers import DatabaseFunctionalLayer
28
21
from lp.app.interfaces.launchpad import ILaunchpadCelebrities
29
22
from lp.app.interfaces.security import IAuthorization
30
23
from lp.code.enums import (
33
26
    CodeReviewNotificationLevel,
34
27
    )
35
28
from lp.code.interfaces.branch import IBranchSet
 
29
from lp.security import AccessBranch
 
30
from lp.services.webapp.authorization import (
 
31
    check_permission,
 
32
    clear_cache,
 
33
    )
 
34
from lp.services.webapp.interaction import ANONYMOUS
36
35
from lp.testing import (
37
36
    login,
38
37
    TestCaseWithFactory,
39
38
    )
 
39
from lp.testing.layers import DatabaseFunctionalLayer
40
40
 
41
41
 
42
42
class TestBranchVisibility(TestCaseWithFactory):