mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 23:26:34 +00:00
Update test
This commit is contained in:
parent
6ae58da668
commit
d3f10d2f4f
@ -127,8 +127,13 @@ async def test_default_method_implementations(mocker: MockerFixture) -> None:
|
||||
["hello", "wooorld"], [dict(tags=["a-tag"]), dict(metadata={"key": "value"})]
|
||||
) == [5, 7]
|
||||
assert spy.call_args_list == [
|
||||
mocker.call("hello", dict(tags=["a-tag"])),
|
||||
mocker.call("wooorld", dict(metadata={"key": "value"})),
|
||||
mocker.call(
|
||||
"hello", dict(tags=["a-tag"], metadata={}, callbacks=None, _locals={})
|
||||
),
|
||||
mocker.call(
|
||||
"wooorld",
|
||||
dict(metadata={"key": "value"}, tags=[], callbacks=None, _locals={}),
|
||||
),
|
||||
]
|
||||
spy.reset_mock()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user