Skip to content

Commit

Permalink
tests: updated value of content-length header
Browse files Browse the repository at this point in the history
  • Loading branch information
alexted committed Oct 27, 2024
1 parent 4837be5 commit 035d2dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/minimal-async/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 035d2dc

Please sign in to comment.