~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/oauth/tests/test_tokens.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:
17
17
from zope.proxy import sameProxiedObjects
18
18
from zope.security.interfaces import Unauthorized
19
19
 
20
 
from lp.testing import login_person
21
 
from lp.services.webapp.interfaces import (
22
 
    AccessLevel,
23
 
    OAuthPermission,
24
 
    )
25
 
from lp.services.webapp.testing import verifyObject
26
 
from lp.testing.layers import DatabaseFunctionalLayer
27
20
from lp.services.oauth.interfaces import (
28
21
    IOAuthAccessToken,
29
22
    IOAuthConsumer,
31
24
    IOAuthRequestToken,
32
25
    IOAuthRequestTokenSet,
33
26
    )
 
27
from lp.services.webapp.interfaces import (
 
28
    AccessLevel,
 
29
    OAuthPermission,
 
30
    )
 
31
from lp.services.webapp.testing import verifyObject
34
32
from lp.testing import (
 
33
    login_person,
35
34
    oauth_access_token_for,
36
35
    TestCaseWithFactory,
37
36
    )
 
37
from lp.testing.layers import DatabaseFunctionalLayer
38
38
 
39
39
 
40
40
class TestOAuth(TestCaseWithFactory):