Skip to content

Commit c1bae9c

Browse files
fix unittests
1 parent fd40e6b commit c1bae9c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/unit/tools/askui/test_askui_controller_settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def test_no_environment_variables_raises_error(self) -> None:
104104
with pytest.raises(
105105
ValueError, match="Either ASKUI_COMPONENT_REGISTRY_FILE"
106106
):
107-
AskUiControllerSettings()
107+
settings = AskUiControllerSettings()
108+
_ = settings.controller_path
108109

109110
def test_build_controller_path_windows(self) -> None:
110111
"""Test _build_controller_path for Windows platform."""

tests/unit/tools/test_caching_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_retrieve_cached_test_executions_respects_custom_format() -> None:
8383
def test_execute_cached_execution_initializes_without_toolbox() -> None:
8484
"""Test that ExecuteCachedExecution can be initialized without toolbox."""
8585
tool = ExecuteCachedTrajectory()
86-
assert tool.name == "execute_cached_executions_tool"
86+
assert tool.name.startswith("execute_cached_executions_tool")
8787

8888

8989
def test_execute_cached_execution_raises_error_without_toolbox() -> None:

0 commit comments

Comments
 (0)