~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/xmlrpc/tests/test_doc.py

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

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 lp.services.testing import build_test_suite
 
11
from lp.testing.layers import LaunchpadFunctionalLayer
 
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)