# HG changeset patch # User Jeff Hammel # Date 1330644737 28800 # Node ID 2e60fb7044544c11e877c1cebac8d5862081c2aa # Parent 143adebe4caa89db2c126569cd9d9f3b37ff479c add test server to the test globs diff -r 143adebe4caa -r 2e60fb704454 tests/test.py --- a/tests/test.py Thu Mar 01 15:28:34 2012 -0800 +++ b/tests/test.py Thu Mar 01 15:32:17 2012 -0800 @@ -9,6 +9,7 @@ import shutil import sys import tempfile +import testserver import virtualenv from optparse import OptionParser @@ -28,7 +29,9 @@ # doctest arguments directory = os.path.dirname(os.path.abspath(__file__)) - extraglobs = {'here': directory, 'create_virtualenv': create_virtualenv} + extraglobs = {'here': directory, + 'create_virtualenv': create_virtualenv, + 'server': testserver.TestWSGIserver } doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) if report_first: doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE