~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/smoke-test-librarian.py

  • Committer: William Grant
  • Date: 2011-12-30 01:48:17 UTC
  • mto: (14606.3.6 apocaremains)
  • mto: This revision was merged to the branch mainline in revision 14608.
  • Revision ID: william.grant@canonical.com-20111230014817-7qmddxz1x941socp
Move the rest of canonical.librarian to lp.services.librarianserver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
"""Perform simple librarian operations to verify the current configuration.
7
7
"""
8
8
 
9
 
import _pythonpath # Not lint, actually needed.
10
 
 
11
9
import sys
12
10
 
 
11
import _pythonpath # Not lint
 
12
import actually needed.
13
13
from zope.component import getUtility
14
 
from lp.services.scripts import execute_zcml_for_scripts
15
 
from canonical.librarian.interfaces import (
 
14
 
 
15
from lp.services.librarian.interfaces.client import (
 
16
    ILibrarianClient,
16
17
    IRestrictedLibrarianClient,
17
 
    ILibrarianClient,
18
18
    )
19
 
from canonical.librarian.smoketest import do_smoketest
 
19
from lp.services.librarian.smoketest import do_smoketest
 
20
from lp.services.scripts import execute_zcml_for_scripts
20
21
 
21
22
 
22
23
if __name__ == '__main__':