diff options
Diffstat (limited to 'test/http/http1/test_read.py')
-rw-r--r-- | test/http/http1/test_read.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http/http1/test_read.py b/test/http/http1/test_read.py index 8a315508..90234070 100644 --- a/test/http/http1/test_read.py +++ b/test/http/http1/test_read.py @@ -159,10 +159,10 @@ def test_expected_http_body_size(): # no length assert expected_http_body_size( - treq() + treq(headers=Headers()) ) == 0 assert expected_http_body_size( - treq(), tresp() + treq(headers=Headers()), tresp(headers=Headers()) ) == -1 |