Skip to content

Commit 5f07b02

Browse files
committed
format
1 parent 19f69a7 commit 5f07b02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ def test_custom_headers_are_applied():
9898

9999
def mock_send(request):
100100
assert "User-Agent" in request.headers, "Custom header not found in request"
101-
assert (
102-
request.headers["User-Agent"] == "my-custom-user-agent/1.0"
103-
), "Custom header value is incorrect"
101+
assert request.headers["User-Agent"] == "my-custom-user-agent/1.0", (
102+
"Custom header value is incorrect"
103+
)
104104
return httpx.Response(401, json={})
105105

106106
mock_send_wrapper = mock.Mock(side_effect=mock_send)

0 commit comments

Comments
 (0)