summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGraham Dumpleton <Graham.Dumpleton@gmail.com>2015-06-07 17:13:12 +1000
committerGraham Dumpleton <Graham.Dumpleton@gmail.com>2015-06-07 17:13:12 +1000
commitc9bfdd24ae82046edca0ce79015a9dc1727dc82b (patch)
tree27af8e1dfdb731f7cf1f018d3c50383afb7cd4be /tests
parent9bf8ff1c1e1e83a52fb29e7a626fc04accedba00 (diff)
downloadmod_wsgi-c9bfdd24ae82046edca0ce79015a9dc1727dc82b.tar.gz
Adjust test script due to renaming in application object attribute name in request started event.
Diffstat (limited to 'tests')
-rw-r--r--tests/events.wsgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/events.wsgi b/tests/events.wsgi
index 2f7c434..ab3f10f 100644
--- a/tests/events.wsgi
+++ b/tests/events.wsgi
@@ -24,7 +24,7 @@ def event_handler(name, **kwargs):
environ = kwargs['request_environ']
start_time = time.time()
request['start_time'] = start_time
- return dict(application=wrapper(kwargs['application']))
+ return dict(application_object=wrapper(kwargs['application_object']))
elif name == 'request_finished':
request = mod_wsgi.request_data()
print('REQUEST', request)