Skip to content

Commit 35f87db

Browse files
committed
style: format port-race test fixtures
1 parent 157f00d commit 35f87db

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tests/client/test_http_unicode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
def make_unicode_server_app() -> Starlette: # pragma: no cover
4343
"""Create the Unicode test server."""
44+
4445
# Need to recreate the server setup in this process
4546
async def handle_list_tools(
4647
ctx: ServerRequestContext, params: types.PaginatedRequestParams | None

tests/server/test_sse_security.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ async def test_sse_security_post_invalid_content_type():
141141
assert response.text == "Invalid Content-Type header"
142142

143143
# Test POST with missing content type
144-
response = await client.post(
145-
f"{server_url}/messages/?session_id={fake_session_id}", content="test"
146-
)
144+
response = await client.post(f"{server_url}/messages/?session_id={fake_session_id}", content="test")
147145
assert response.status_code == 400
148146
assert response.text == "Invalid Content-Type header"
149147

0 commit comments

Comments
 (0)