diff --git a/lib/galaxy/tool_util/verify/interactor.py b/lib/galaxy/tool_util/verify/interactor.py index fc9e43db7b3..f4971545bf9 100644 --- a/lib/galaxy/tool_util/verify/interactor.py +++ b/lib/galaxy/tool_util/verify/interactor.py @@ -1273,16 +1273,16 @@ def verify_tool( publish_history: bool = False, force_path_paste: bool = False, maxseconds: int = DEFAULT_TOOL_TEST_WAIT, - tool_test_dicts: Optional[ToolTestDictsT] = None, client_test_config: Optional[TestConfig] = None, skip_with_reference_data: bool = False, skip_on_dynamic_param_errors: bool = False, + _tool_test_dicts: Optional[ToolTestDictsT] = None, # extension point only for tests ): if resource_parameters is None: resource_parameters = {} if client_test_config is None: client_test_config = NullClientTestConfig() - tool_test_dicts = tool_test_dicts or galaxy_interactor.get_tool_tests(tool_id, tool_version=tool_version) + tool_test_dicts = _tool_test_dicts or galaxy_interactor.get_tool_tests(tool_id, tool_version=tool_version) tool_test_dict = tool_test_dicts[test_index] if "test_index" not in tool_test_dict: tool_test_dict["test_index"] = test_index diff --git a/lib/galaxy_test/api/test_tools.py b/lib/galaxy_test/api/test_tools.py index 0c0ef834c77..8db355afed9 100644 --- a/lib/galaxy_test/api/test_tools.py +++ b/lib/galaxy_test/api/test_tools.py @@ -1472,7 +1472,7 @@ class TestToolsApi(ApiTestCase, TestsTools): dynamic_param_error = None test_driver = self.driver_or_skip_test_if_remote() try: - test_driver.run_tool_test("dbkey_output_action", tool_test_dicts=tool_test_dicts) + test_driver.run_tool_test("dbkey_output_action", _tool_test_dicts=tool_test_dicts) except Exception as e: dynamic_param_error = getattr(e, "dynamic_param_error", False) assert dynamic_param_error is None @@ -1486,7 +1486,7 @@ class TestToolsApi(ApiTestCase, TestsTools): ) dynamic_param_error = None try: - test_driver.run_tool_test("dbkey_output_action", tool_test_dicts=tool_test_dicts) + test_driver.run_tool_test("dbkey_output_action", _tool_test_dicts=tool_test_dicts) except Exception as e: dynamic_param_error = getattr(e, "dynamic_param_error", False) assert dynamic_param_error @@ -1501,7 +1501,7 @@ class TestToolsApi(ApiTestCase, TestsTools): dynamic_param_error = None try: test_driver.run_tool_test( - "dbkey_output_action", tool_test_dicts=tool_test_dicts, register_job_data=register_job_data + "dbkey_output_action", _tool_test_dicts=tool_test_dicts, register_job_data=register_job_data ) except Exception as e: dynamic_param_error = getattr(e, "dynamic_param_error", False) @@ -1515,7 +1515,7 @@ class TestToolsApi(ApiTestCase, TestsTools): try: test_driver.run_tool_test( "dbkey_output_action", - tool_test_dicts=tool_test_dicts, + _tool_test_dicts=tool_test_dicts, skip_on_dynamic_param_errors=True, register_job_data=register_job_data, )