mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: make sure test works equally well against llama stack as a server
This commit is contained in:
parent
8713d67ce3
commit
bb1a85c9a0
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def test_register_and_unregister_toolgroup(llama_stack_client, mcp_server):
|
||||||
llama_stack_client.toolgroups.unregister(toolgroup_id=test_toolgroup_id)
|
llama_stack_client.toolgroups.unregister(toolgroup_id=test_toolgroup_id)
|
||||||
|
|
||||||
# Verify it is unregistered
|
# Verify it is unregistered
|
||||||
with pytest.raises(ValueError, match=f"Tool group '{test_toolgroup_id}' not found"):
|
with pytest.raises(Exception, match=f"Tool group '{test_toolgroup_id}' not found"):
|
||||||
llama_stack_client.toolgroups.get(toolgroup_id=test_toolgroup_id)
|
llama_stack_client.toolgroups.get(toolgroup_id=test_toolgroup_id)
|
||||||
|
|
||||||
# Verify tools are also unregistered
|
# Verify tools are also unregistered
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue