diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_flow.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index c91c456b..d9933515 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -688,6 +688,9 @@ class uRequest(libpry.AutoTree): assert r._assemble(True) + r.content = flow.CONTENT_MISSING + assert not r._assemble() + def test_getset_form_urlencoded(self): h = flow.ODictCaseless() h["content-type"] = [flow.HDR_FORM_URLENCODED] @@ -819,6 +822,9 @@ class uResponse(libpry.AutoTree): resp.request.client_conn.close = True assert "connection: close" in resp._assemble() + resp.content = flow.CONTENT_MISSING + assert not resp._assemble() + def test_refresh(self): r = tutils.tresp() n = time.time() |