mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-19 20:14:17 +02:00
fix: update remaining test to use get_prompt
This commit is contained in:
parent
850f0a0050
commit
de1bf9864a
1 changed files with 2 additions and 2 deletions
|
|
@ -464,8 +464,8 @@ class TestPromptTags:
|
|||
|
||||
async def test_read_prompt_excludes_tags(self):
|
||||
mcp = self.create_server(exclude_tags={"a"})
|
||||
# _get_prompt applies visibility transform (tag filtering)
|
||||
prompt = await mcp._get_prompt("prompt_1")
|
||||
# get_prompt applies visibility transform (tag filtering)
|
||||
prompt = await mcp.get_prompt("prompt_1")
|
||||
assert prompt is None
|
||||
|
||||
prompt = await mcp.get_prompt("prompt_2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue