Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.1
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.471 kb
# -*- coding: utf-8 -*-
from doctest import ELLIPSIS
from webtest.debugapp import debug_app
from webtest.http import StopableWSGIServer
def setup_test(test):
test.globs['server'] = StopableWSGIServer.create(debug_app)
test.globs['application_url'] = test.globs['server'].application_url
for example in test.examples:
example.options.setdefault(ELLIPSIS, 1)
setup_test.__test__ = False
def teardown_test(test):
test.globs['server'].shutdown()
Jump to Line
Something went wrong with that request. Please try again.