Skip to content

Commit b4e1fe4

Browse files
author
Walter Gillett
committed
Drop test_is_running per code review feedback.
1 parent 82e0c51 commit b4e1fe4

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/test_mcp.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,6 @@ async def test_aexit_called_more_times_than_aenter():
121121
await server.__aexit__(None, None, None)
122122

123123

124-
async def test_is_running():
125-
"""Test the is_running property."""
126-
server = MCPServerStdio('python', ['-m', 'tests.mcp_server'])
127-
128-
# Server should not be running initially
129-
assert not server.is_running
130-
131-
# Server should be running inside the context manager
132-
async with server:
133-
assert server.is_running
134-
135-
# Server should not be running after exiting the context manager
136-
assert not server.is_running
137-
138-
139124
async def test_stdio_server_with_tool_prefix(run_context: RunContext[int]):
140125
server = MCPServerStdio('python', ['-m', 'tests.mcp_server'], tool_prefix='foo')
141126
async with server:

0 commit comments

Comments
 (0)