fix: update integration tests to use 2-element variable selectors (#23766)

This commit is contained in:
Jason Young 2025-08-12 09:33:09 +08:00 committed by GitHub
commit cdee5aab3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 115 additions and 31 deletions

View file

@ -81,7 +81,7 @@ def test_tool_variable_invoke():
ToolParameterConfigurationManager.decrypt_tool_parameters = MagicMock(return_value={"format": "%Y-%m-%d %H:%M:%S"})
node.graph_runtime_state.variable_pool.add(["1", "123", "args1"], "1+1")
node.graph_runtime_state.variable_pool.add(["1", "args1"], "1+1")
# execute node
result = node._run()