Update test

This commit is contained in:
Nuno Campos 2023-08-18 11:36:16 +01:00
parent 6ae58da668
commit d3f10d2f4f

View File

@ -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()