mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
test: unit test cases for sub modules in core.app (except core.app.apps) (#32476)
This commit is contained in:
@ -68,7 +68,7 @@ def init_tool_node(config: dict):
|
||||
return node
|
||||
|
||||
|
||||
def test_tool_variable_invoke():
|
||||
def test_tool_variable_invoke(monkeypatch):
|
||||
node = init_tool_node(
|
||||
config={
|
||||
"id": "1",
|
||||
@ -103,7 +103,7 @@ def test_tool_variable_invoke():
|
||||
assert item.node_run_result.outputs.get("text") is not None
|
||||
|
||||
|
||||
def test_tool_mixed_invoke():
|
||||
def test_tool_mixed_invoke(monkeypatch):
|
||||
node = init_tool_node(
|
||||
config={
|
||||
"id": "1",
|
||||
|
||||
Reference in New Issue
Block a user