summaryrefslogtreecommitdiff
path: root/pecan/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'pecan/testing.py')
-rw-r--r--pecan/testing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pecan/testing.py b/pecan/testing.py
index ee2896e..14986ff 100644
--- a/pecan/testing.py
+++ b/pecan/testing.py
@@ -2,7 +2,7 @@ from pecan import load_app
from webtest import TestApp
-def load_test_app(config=None):
+def load_test_app(config=None, **kwargs):
"""
Used for functional tests where you need to test your
literal application and its integration with the framework.
@@ -32,4 +32,4 @@ def load_test_app(config=None):
resp = app.get('/path/to/some/resource').status_int
assert resp.status_int == 200
"""
- return TestApp(load_app(config))
+ return TestApp(load_app(config, **kwargs))