~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/scripts/doc/scripts-and-zcml.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
Run the script (making sure it uses the testrunner configuration).
26
26
 
27
 
    >>> from canonical.config import config
 
27
    >>> from lp.services.config import config
28
28
    >>> bin_py = os.path.join(config.root, 'bin', 'py')
29
29
    >>> proc = subprocess.Popen(
30
30
    ...     [bin_py, script_file.name], stdout=subprocess.PIPE, stderr=None)