~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/librarian/tests/test_doc.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:
 
1
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
"""
 
5
Run the doctests and pagetests.
 
6
"""
 
7
 
 
8
import os
 
9
 
 
10
from canonical.testing.layers import LaunchpadFunctionalLayer
 
11
from lp.services.testing import build_test_suite
 
12
 
 
13
 
 
14
here = os.path.dirname(os.path.realpath(__file__))
 
15
 
 
16
 
 
17
def test_suite():
 
18
    return build_test_suite(here, layer=LaunchpadFunctionalLayer)