Skip to content

Commit

Permalink
test: fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Feb 18, 2025
1 parent 39a9cf7 commit 0ddccdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/network/test_continue_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ async def test_continue_request_invalid_header(websocket, context_id,
with pytest.raises(Exception,
match=str({
"error": "invalid argument",
"message": "Invalid header",
"message": "Invalid header: Chromium-BiDi: ",
})):
await execute_command(
websocket, {
Expand Down Expand Up @@ -458,7 +458,7 @@ async def test_continue_request_unsafe_header(websocket, context_id,
with pytest.raises(Exception,
match=str({
"error": "invalid argument",
"message": "Unsafe header",
"message": "Unsafe header: Cookie2",
})):
await execute_command(
websocket, {
Expand Down

0 comments on commit 0ddccdf

Please sign in to comment.