Skip to content

Commit 95d5618

Browse files
fix: add context to call
Signed-off-by: Scott Schreckengaust <[email protected]>
1 parent 953e07a commit 95d5618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aws-api-mcp-server/tests/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ async def test_get_execution_plan_is_available_when_env_var_is_set():
822822

823823
from awslabs.aws_api_mcp_server.server import server
824824

825-
tools = await server._list_tools()
825+
tools = await server._list_tools(context=None)
826826
tool_names = [tool.name for tool in tools]
827827
assert 'get_execution_plan' in tool_names
828828

@@ -838,7 +838,7 @@ async def test_get_execution_plan_is_available_when_env_var_is_not_set():
838838

839839
from awslabs.aws_api_mcp_server.server import server
840840

841-
tools = await server._list_tools()
841+
tools = await server._list_tools(context=None)
842842
tool_names = [tool.name for tool in tools]
843843
assert 'get_execution_plan' not in tool_names
844844

0 commit comments

Comments
 (0)