Skip to content

Commit f86ea93

Browse files
committed
test: add pragma no cover to mock_receive function
Github-Issue: #1727
1 parent 75b142b commit f86ea93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/server/test_streamable_http_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ async def mock_send(message: Message):
295295
}
296296

297297
async def mock_receive():
298-
return {"type": "http.request", "body": b"{}", "more_body": False}
298+
return {"type": "http.request", "body": b"{}", "more_body": False} # pragma: no cover
299299

300300
await manager.handle_request(scope, mock_receive, mock_send)
301301

0 commit comments

Comments
 (0)