summaryrefslogtreecommitdiff
path: root/tests/test_errordocument.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-12-01 02:37:22 +0000
committerianb <devnull@localhost>2006-12-01 02:37:22 +0000
commit4539e2afab6dc2dbcb2b9704fb3c8c5b86d50e47 (patch)
tree3255920a0c2046caa7dc0a70877e8192838ef464 /tests/test_errordocument.py
parentf104f520d0727285742a31b999563d046fb6551b (diff)
downloadpaste-4539e2afab6dc2dbcb2b9704fb3c8c5b86d50e47.tar.gz
Fixed errordocument header test
Diffstat (limited to 'tests/test_errordocument.py')
-rw-r--r--tests/test_errordocument.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_errordocument.py b/tests/test_errordocument.py
index f448ffc..a3da3b8 100644
--- a/tests/test_errordocument.py
+++ b/tests/test_errordocument.py
@@ -73,8 +73,8 @@ def auth_docs_app(environ, start_response):
return simple_app(environ, start_response)
def test_auth_docs_app():
- app = forward(auth_docs_app, codes={401: '/auth_doc'})
- app = TestApp(auth_docs_app)
+ wsgi_app = forward(auth_docs_app, codes={401: '/auth_doc'})
+ app = TestApp(wsgi_app)
res = app.get('/auth_doc')
assert res.header('content-type') == 'text/html'
res = app.get('/auth', status=401)