summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Blin <you@example.com>2013-02-23 15:39:38 +0100
committerGuillaume Blin <you@example.com>2013-02-23 15:39:38 +0100
commitffee4bb1def1d325b2a50cd42dfa2e77a57a717c (patch)
tree240afa33d2a9df9dc13c2b524a86ae0a88cb19f3
parentb5b4d2df15a603d15d13acdb1fe31abe29c313d8 (diff)
parentc224267e6140a716e7a6d9ceb4f2f40211505eba (diff)
downloadwebtest-ffee4bb1def1d325b2a50cd42dfa2e77a57a717c.tar.gz
Merge branch 'master' of https://github.com/gblin/webtest
Conflicts: tests/test_lint.py
-rw-r--r--tests/test_lint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_lint.py b/tests/test_lint.py
index 2f98f4e..3d23491 100644
--- a/tests/test_lint.py
+++ b/tests/test_lint.py
@@ -36,7 +36,8 @@ def application(environ, start_response):
resp.body = env_input.readline(len_body)
elif req.path_info == '/read_lines':
resp.body = b'-'.join(env_input.readlines(len_body))
-
+ elif req.path_info == '/close':
+ resp.body = env_input.close()
return resp(environ, start_response)