summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2016-03-07 18:47:38 -0800
committerMarc Abramowitz <marc@marc-abramowitz.com>2016-03-07 18:47:38 -0800
commit55ecb2d6bd361ec5bae2e883350467b7ac05c304 (patch)
tree2fc96c7d2286322c376f5d27b36372bcd6134370 /tests
parent56de1fd59ad85af6a38ceaa27434a39c8180f5c5 (diff)
downloadpaste-git-55ecb2d6bd361ec5bae2e883350467b7ac05c304.tar.gz
Check paste.wsgilib.add_close._closed
Diffstat (limited to 'tests')
-rw-r--r--tests/test_wsgilib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_wsgilib.py b/tests/test_wsgilib.py
index f9366fc..72573cf 100644
--- a/tests/test_wsgilib.py
+++ b/tests/test_wsgilib.py
@@ -32,6 +32,7 @@ def test_add_close_bytes():
assert lst == [b'a', b'b', b'c']
assert close_func_called
+ assert obj._closed
def test_add_close_unicode():
@@ -48,3 +49,4 @@ def test_add_close_unicode():
assert lst == ['a', 'b', 'c']
assert close_func_called
+ assert obj._closed