Use a shared executor for all parallel calls

This commit is contained in:
Nuno Campos 2023-08-18 11:34:18 +01:00
parent dacd5dcba8
commit c184be5511

View File

@ -171,11 +171,21 @@ async def test_default_method_implementations(mocker: MockerFixture) -> None:
assert spy.call_args_list == [ assert spy.call_args_list == [
mocker.call( mocker.call(
"hello", "hello",
dict(metadata={"key": "value"}, tags=[], callbacks=None, _locals={}), dict(
metadata={"key": "value"},
tags=[],
callbacks=None,
_locals={},
),
), ),
mocker.call( mocker.call(
"wooorld", "wooorld",
dict(metadata={"key": "value"}, tags=[], callbacks=None, _locals={}), dict(
metadata={"key": "value"},
tags=[],
callbacks=None,
_locals={},
),
), ),
] ]