summaryrefslogtreecommitdiff
path: root/tests/test_exceptions
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-10-03 22:39:44 +0000
committerianb <devnull@localhost>2006-10-03 22:39:44 +0000
commita2431a14e59e8581b1e30cf45ca89743d8c33aeb (patch)
tree50805b64a82b5032bd859e6f399c959e0517bcad /tests/test_exceptions
parent4ff3dbeb002b5683383b3fd252493356585db50e (diff)
downloadpaste-a2431a14e59e8581b1e30cf45ca89743d8c33aeb.tar.gz
Fixed problem where the errorcatching middleware doesn't expose the close method of the app_iter that it is wrapping
Diffstat (limited to 'tests/test_exceptions')
-rw-r--r--tests/test_exceptions/test_error_middleware.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_exceptions/test_error_middleware.py b/tests/test_exceptions/test_error_middleware.py
index 428f2f4..064f909 100644
--- a/tests/test_exceptions/test_error_middleware.py
+++ b/tests/test_exceptions/test_error_middleware.py
@@ -87,12 +87,12 @@ def test_start_res():
def test_after_start():
res = do_request(after_start_response_app, 200)
res = strip_html(str(res))
- print res
+ #print res
assert 'ValueError: error2' in res
assert ':53' in res
def test_iter_app():
- res = do_request(iter_app, 200)
+ res = do_request(lint.middleware(iter_app), 200)
#print res
assert 'None raises error' in res
assert 'yielder' in res