Skip to content

Commit

Permalink
test: no-auth flag
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Dec 31, 2024
1 parent 4e5a9ab commit 88400cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/tests/test_tools/test_base/test_abs.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ def actions(cls) -> list:

ToolBuilder.validate(obj=SomeTool, name="SomeTool", methods=("actions",))
ToolBuilder.set_metadata(obj=SomeTool)
ToolBuilder.setup_children(obj=SomeTool)
ToolBuilder.setup_children(obj=SomeTool, no_auth=True)

SomeTool.register()

assert SomeAction.enum == "SOME_TOOL_SOME_ACTION"
assert SomeAction.no_auth is True
assert isinstance(tool_registry["local"][SomeTool.enum], SomeTool)
assert action_registry["local"][SomeAction.enum] is SomeAction

Expand Down

0 comments on commit 88400cc

Please sign in to comment.