~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-30 10:09:30 UTC
  • mfrom: (14606.2.8 apocalibrarian)
  • Revision ID: launchpad@pqm.canonical.com-20111230100930-kp3e0l6wakissewm
[r=wgrant][no-qa] Move canonical.librarian to
        lp.services.librarian(server).

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.
 
9
import _pythonpath
10
10
 
11
11
import sys
12
12
 
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__':