mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-24 00:22:25 +02:00
Fix tests
This commit is contained in:
@@ -5933,6 +5933,7 @@ async def test_branch_then(checkpointer_name: str) -> None:
|
||||
"step": -1,
|
||||
"writes": {"__start__": {"my_key": "value", "market": "DE"}},
|
||||
},
|
||||
"parent_config": None,
|
||||
"next": ["__start__"],
|
||||
"tasks": [{"id": AnyStr(), "name": "__start__", "interrupts": ()}],
|
||||
},
|
||||
@@ -5963,6 +5964,17 @@ async def test_branch_then(checkpointer_name: str) -> None:
|
||||
"step": 0,
|
||||
"writes": None,
|
||||
},
|
||||
"parent_config": {
|
||||
"tags": [],
|
||||
"metadata": {"thread_id": "11"},
|
||||
"callbacks": None,
|
||||
"recursion_limit": 25,
|
||||
"configurable": {
|
||||
"thread_id": "11",
|
||||
"checkpoint_ns": "",
|
||||
"checkpoint_id": AnyStr(),
|
||||
},
|
||||
},
|
||||
"next": ["prepare"],
|
||||
"tasks": [{"id": AnyStr(), "name": "prepare", "interrupts": ()}],
|
||||
},
|
||||
@@ -6016,6 +6028,17 @@ async def test_branch_then(checkpointer_name: str) -> None:
|
||||
"step": 1,
|
||||
"writes": {"prepare": {"my_key": " prepared"}},
|
||||
},
|
||||
"parent_config": {
|
||||
"tags": [],
|
||||
"metadata": {"thread_id": "11"},
|
||||
"callbacks": None,
|
||||
"recursion_limit": 25,
|
||||
"configurable": {
|
||||
"thread_id": "11",
|
||||
"checkpoint_ns": "",
|
||||
"checkpoint_id": AnyStr(),
|
||||
},
|
||||
},
|
||||
"next": ["tool_two_slow"],
|
||||
"tasks": [
|
||||
{"id": AnyStr(), "name": "tool_two_slow", "interrupts": ()}
|
||||
|
||||
Reference in New Issue
Block a user