~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/tests/test_private_team_visibility.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:
20
20
from zope.component import getUtility
21
21
from zope.security.interfaces import Unauthorized
22
22
 
23
 
from lp.services.webapp.authorization import (
24
 
    check_permission,
25
 
    clear_cache,
26
 
    precache_permission_for_objects,
27
 
    )
28
 
from lp.services.webapp.interaction import ANONYMOUS
29
 
from lp.services.webapp.servers import LaunchpadTestRequest
30
 
from lp.testing.layers import DatabaseFunctionalLayer
31
 
 
32
23
from lp.registry.interfaces.person import (
33
24
    PersonVisibility,
34
25
    TeamSubscriptionPolicy,
38
29
    TeamMembershipStatus,
39
30
    )
40
31
from lp.services.features.testing import FeatureFixture
 
32
from lp.services.webapp.authorization import (
 
33
    check_permission,
 
34
    clear_cache,
 
35
    precache_permission_for_objects,
 
36
    )
 
37
from lp.services.webapp.interaction import ANONYMOUS
 
38
from lp.services.webapp.servers import LaunchpadTestRequest
41
39
from lp.testing import (
42
40
    login,
43
41
    login_celebrity,
45
43
    person_logged_in,
46
44
    TestCaseWithFactory,
47
45
    )
 
46
from lp.testing.layers import DatabaseFunctionalLayer
48
47
 
49
48
 
50
49
class TestPrivateTeamVisibility(TestCaseWithFactory):