~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/scripts/tests/test_garbo.py

  • Committer: William Grant
  • Date: 2011-12-22 05:37:22 UTC
  • mto: This revision was merged to the branch mainline in revision 14581.
  • Revision ID: william.grant@canonical.com-20111222053722-gm6h9zi3lioz00ky
Move librarian stuff from canonical.launchpad to lp.services.librarian. canonical.librarian remains untouched.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    THIRTY_DAYS_AGO,
43
43
    UTC_NOW,
44
44
    )
45
 
from canonical.launchpad.database.librarian import TimeLimitedToken
46
 
from lp.services.verification.model.logintoken import LoginToken
47
 
from lp.services.verification.interfaces.authtoken import LoginTokenType
48
 
from lp.services.database.lpstorm import IMasterStore
49
 
from lp.services.scripts.tests import run_script
50
45
from canonical.launchpad.webapp.interfaces import (
51
46
    IStoreSelector,
52
47
    MAIN_STORE,
90
85
    OpenIDConsumerAssociationPruner,
91
86
    UnusedSessionPruner,
92
87
    )
 
88
from lp.services.database.lpstorm import IMasterStore
93
89
from lp.services.identity.interfaces.account import AccountStatus
94
90
from lp.services.identity.interfaces.emailaddress import EmailAddressStatus
95
91
from lp.services.job.model.job import Job
 
92
from lp.services.librarian.model import TimeLimitedToken
96
93
from lp.services.log.logger import NullHandler
97
94
from lp.services.messages.model.message import Message
98
95
from lp.services.oauth.model import (
100
97
    OAuthNonce,
101
98
    )
102
99
from lp.services.openid.model.openidconsumer import OpenIDConsumerNonce
 
100
from lp.services.scripts.tests import run_script
103
101
from lp.services.session.model import (
104
102
    SessionData,
105
103
    SessionPkgData,
106
104
    )
 
105
from lp.services.verification.interfaces.authtoken import LoginTokenType
 
106
from lp.services.verification.model.logintoken import LoginToken
107
107
from lp.services.worlddata.interfaces.language import ILanguageSet
108
108
from lp.testing import (
109
109
    person_logged_in,