Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Sep 28, 2024
1 parent 184448e commit 80a62c3
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions libs/core/tests/unit_tests/runnables/test_runnable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,28 +1305,30 @@ async def test_with_config(mocker: MockerFixture) -> None:
5,
7,
]
assert spy.call_args_list == [
mocker.call(
"hello",
{
"metadata": {"key": "value"},
"tags": ["c"],
"callbacks": None,
"recursion_limit": 5,
"configurable": {},
},
),
mocker.call(
"wooorld",
{
"metadata": {"key": "value"},
"tags": ["c"],
"callbacks": None,
"recursion_limit": 5,
"configurable": {},
},
),
]
assert sorted(spy.call_args_list) == sorted(
[
mocker.call(
"hello",
{
"metadata": {"key": "value"},
"tags": ["c"],
"callbacks": None,
"recursion_limit": 5,
"configurable": {},
},
),
mocker.call(
"wooorld",
{
"metadata": {"key": "value"},
"tags": ["c"],
"callbacks": None,
"recursion_limit": 5,
"configurable": {},
},
),
]
)
spy.reset_mock()

assert sorted(
Expand Down

0 comments on commit 80a62c3

Please sign in to comment.