File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ def test_get_text():
53
53
)
54
54
assert r .text == str (text , "utf-8" )
55
55
56
+
56
57
def test_close_flush ():
57
58
"""Test that a chunked response can be closed even when the request contents were not accessed."""
58
59
pool = mocket .MocketPool ()
@@ -78,5 +79,5 @@ def test_close_flush():
78
79
sock .send .assert_has_calls (
79
80
[mock .call (b"Host: " ), mock .call (b"wifitest.adafruit.com" ),]
80
81
)
81
-
82
+
82
83
r .close ()
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ def test_get_http_text():
74
74
)
75
75
assert r .text == str (text , "utf-8" )
76
76
77
+
77
78
def test_get_close ():
78
79
"""Test that a response can be closed without the contents being accessed."""
79
80
pool = mocket .MocketPool ()
You can’t perform that action at this time.
0 commit comments