From 035d2dceddc427f681f75e7bc186dbe764f175a0 Mon Sep 17 00:00:00 2001 From: Alex Ted Date: Sun, 27 Oct 2024 14:53:20 +0300 Subject: [PATCH] tests: updated value of content-length header --- examples/minimal-async/tests/test_app.py | 2 +- examples/minimal/tests/test_app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/minimal-async/tests/test_app.py b/examples/minimal-async/tests/test_app.py index 45ac9b0..3773c1b 100644 --- a/examples/minimal-async/tests/test_app.py +++ b/examples/minimal-async/tests/test_app.py @@ -178,7 +178,7 @@ def test_multi_decorators(client: 'FlaskClient') -> None: }, } assert rv.headers == Headers( - [('Content-Type', 'application/json'), ('Content-Length', '174'), ('X-JSONRPC-Tag', 'JSONRPC 2.0')] + [('Content-Type', 'application/json'), ('Content-Length', '169'), ('X-JSONRPC-Tag', 'JSONRPC 2.0')] ) assert rv.status_code == 200 diff --git a/examples/minimal/tests/test_app.py b/examples/minimal/tests/test_app.py index 1aba62b..c2ea165 100644 --- a/examples/minimal/tests/test_app.py +++ b/examples/minimal/tests/test_app.py @@ -177,7 +177,7 @@ def test_multi_decorators(client: 'FlaskClient') -> None: }, } assert rv.headers == Headers( - [('Content-Type', 'application/json'), ('Content-Length', '174'), ('X-JSONRPC-Tag', 'JSONRPC 2.0')] + [('Content-Type', 'application/json'), ('Content-Length', '169'), ('X-JSONRPC-Tag', 'JSONRPC 2.0')] ) assert rv.status_code == 200