Skip to content

Commit ef000f9

Browse files
committed
minor changes
Signed-off-by: Keval Mahajan <[email protected]>
1 parent e822455 commit ef000f9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

mcpgateway/wrapper.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,9 +589,6 @@ async def _worker(payload=item):
589589
590590
Args:
591591
payload (Any): The data to be sent in the request. Defaults to `item`.
592-
593-
Returns:
594-
None
595592
"""
596593
async with sem:
597594
if not shutting_down():

tests/unit/mcpgateway/test_wrapper.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# -*- coding: utf-8 -*-
2-
"""Rewritten tests for mcpgateway.wrapper to achieve full coverage."""
2+
"""Tests for the MCP *wrapper* module (single file, full coverage).
3+
4+
Copyright 2025
5+
SPDX-License-Identifier: Apache-2.0
6+
Authors: Mihai Criveti + contributors
7+
8+
This suite fakes the "mcp" dependency tree so that no real network or
9+
pydantic models are required and exercises almost every branch inside
10+
*mcpgateway.wrapper*.
11+
"""
312

413
import asyncio
514
import json

0 commit comments

Comments
 (0)