We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b50b0d commit 0becf18Copy full SHA for 0becf18
tests/server/test_streamable_http_manager.py
@@ -319,9 +319,9 @@ async def mock_receive():
319
assert error_data["error"]["message"] == "Session not found"
320
321
# Verify warning was logged with the session ID
322
- assert any(
323
- "non-existent-session-id" in record.message for record in caplog.records
324
- ), "Should log a warning with the unknown session ID"
+ assert any("non-existent-session-id" in record.message for record in caplog.records), (
+ "Should log a warning with the unknown session ID"
+ )
325
326
327
@pytest.mark.anyio
0 commit comments