~launchpad-pqm/launchpad/devel

11318.1.2 by Brad Crittenden
Add lp.shipit and add to importfascist
1
from canonical.launchpad import _
2
from canonical.launchpad import versioninfo
3
# From browser/configure.zcml.
4
from canonical.launchpad.browser import MaintenanceMessage
5
# From browser/configure.zcml.
6
from canonical.launchpad.browser.launchpad import LaunchpadImageFolder
7
from canonical.launchpad.database.account import Account
8
from canonical.launchpad.datetimeutils import make_mondays_between
9
from canonical.launchpad.ftests import ANONYMOUS
10
from canonical.launchpad.ftests import login
11
from canonical.launchpad.helpers import intOrZero
12
from canonical.launchpad.helpers import shortlist
13
# From browser/configure.zcml.
14
from canonical.launchpad.interfaces import ILaunchpadRoot
15
from canonical.launchpad.interfaces import IMasterObject
16
from canonical.launchpad.interfaces import ISlaveStore
17
from canonical.launchpad.interfaces import IStore
18
from canonical.launchpad.interfaces.account import AccountStatus
19
from canonical.launchpad.interfaces.account import IAccount
20
from canonical.launchpad.interfaces.account import IAccountSet
21
from canonical.launchpad.interfaces.emailaddress import EmailAddressStatus
22
from canonical.launchpad.interfaces.launchpad import ILaunchpadCelebrities
23
from canonical.launchpad.interfaces.librarian import ILibraryFileAliasSet
24
from canonical.launchpad.interfaces.openidconsumer import IOpenIDConsumerStore
25
from canonical.launchpad.layers import setFirstLayer
26
from canonical.launchpad.security import AuthorizationBase
27
from canonical.launchpad.testing.browser import setUp
28
from canonical.launchpad.testing.browser import tearDown
29
from canonical.launchpad.testing.pages import PageTestSuite
30
from canonical.launchpad.testing.pages import extract_text
31
from canonical.launchpad.testing.pages import find_tags_by_class
32
from canonical.launchpad.testing.pages import setUpGlobs
33
from canonical.launchpad.testing.systemdocs import LayeredDocFileSuite
34
from canonical.launchpad.testing.systemdocs import setUp as sd_setUp
35
from canonical.launchpad.testing.systemdocs import tearDown as sd_tearDown
36
from canonical.launchpad.validators import LaunchpadValidationError
37
from canonical.launchpad.versioninfo import revno
38
from canonical.launchpad.webapp import Navigation
39
from canonical.launchpad.webapp import canonical_url
40
from canonical.launchpad.webapp import redirection
41
from canonical.launchpad.webapp import stepto
42
from canonical.launchpad.webapp import urlappend
43
from canonical.launchpad.webapp.batching import BatchNavigator
44
from canonical.launchpad.webapp.dbpolicy import MasterDatabasePolicy
45
from canonical.launchpad.webapp.error import SystemErrorView
46
from canonical.launchpad.webapp.interaction import Participation
47
from canonical.launchpad.webapp.interfaces import ILaunchBag
48
from canonical.launchpad.webapp.interfaces import ILaunchpadApplication
49
from canonical.launchpad.webapp.interfaces import IPlacelessLoginSource
50
from canonical.launchpad.webapp.interfaces import IStoreSelector
51
from canonical.launchpad.webapp.interfaces import UnexpectedFormData
52
from canonical.launchpad.webapp.launchpadform import LaunchpadEditFormView
53
from canonical.launchpad.webapp.launchpadform import LaunchpadFormView
54
from canonical.launchpad.webapp.launchpadform import action
55
from canonical.launchpad.webapp.launchpadform import custom_widget
56
from canonical.launchpad.webapp.login import allowUnauthenticatedSession
57
from canonical.launchpad.webapp.login import logInPrincipal
58
from canonical.launchpad.webapp.menu import structured
59
from canonical.launchpad.webapp.publication import LaunchpadBrowserPublication
60
from canonical.launchpad.webapp.publisher import LaunchpadView
61
from canonical.launchpad.webapp.servers import AccountPrincipalMixin
62
from canonical.launchpad.webapp.servers import LaunchpadBrowserRequest
63
from canonical.launchpad.webapp.servers import LaunchpadTestRequest
11318.1.4 by Brad Crittenden
Fixed too long lines
64
from canonical.launchpad.webapp.servers import (
65
    VirtualHostRequestPublicationFactory)
11318.1.2 by Brad Crittenden
Add lp.shipit and add to importfascist
66
from canonical.launchpad.webapp.testing import verifyObject
67
from canonical.launchpad.webapp.tests.test_login import FakeOpenIDConsumer
68
from canonical.launchpad.webapp.tests.test_login import FakeOpenIDResponse
11318.1.4 by Brad Crittenden
Fixed too long lines
69
from canonical.launchpad.webapp.tests.test_login import (
70
    IAccountSet_getByOpenIDIdentifier_monkey_patched)
71
from canonical.launchpad.webapp.tests.test_login import (
72
    SRegResponse_fromSuccessResponse_stubbed)
73
from canonical.launchpad.webapp.tests.test_login import (
74
    fill_login_form_and_submit)
11318.1.2 by Brad Crittenden
Add lp.shipit and add to importfascist
75
from canonical.launchpad.webapp.vhosts import allvhosts
76
from lp.registry.interfaces.person import IPerson
77
from lp.registry.interfaces.person import IPersonSet
78
from lp.registry.interfaces.person import PersonCreationRationale
79
from lp.registry.model.karma import Karma
80
from lp.registry.model.person import Person
81
from lp.services.mail import stub
82
from lp.services.mail.sendmail import simple_sendmail
83
from lp.services.scripts.base import LaunchpadCronScript
84
from lp.services.scripts.base import LaunchpadScript
85
from lp.services.scripts.base import LaunchpadScriptFailure
86
from lp.services.worlddata.interfaces.country import ICountrySet
87
from lp.services.worlddata.model.country import Country
88
from lp.testing import TestCase
89
from lp.testing import TestCaseWithFactory
90
from lp.testing import login_person
91
from lp.testing import logout
92
from lp.testing import run_script
93
from lp.testing.factory import LaunchpadObjectFactory
94
from lp.testing.publication import get_request_and_publication