Files
deb-python-pecan/pecan/testing.py
Ryan Petrello 054e1c4828 A bunch of cleanup, and the removal of a few features:
* Consolidating a considerable amount of duplicate (for loading a Pecan app and its environment) into `pecan.core.load_app`.
* Removing support for module-based configurations.
* Wrote a simple utility for loading a test environment, `pecan.testing.load_test_app`.
2012-03-06 23:21:28 -05:00

6 lines
120 B
Python

from pecan import load_app
from webtest import TestApp
def load_test_app(config):
return TestApp(load_app(config))