This commit is contained in:
Nuno Campos 2023-08-24 18:25:42 +02:00
parent 06e89c1caa
commit f9a845b382

View File

@ -124,8 +124,8 @@ async def test_with_config(mocker: MockerFixture) -> None:
] ]
spy.reset_mock() spy.reset_mock()
fake_1 = RunnablePassthrough() fake_1: Runnable = RunnablePassthrough()
fake_2 = RunnablePassthrough() fake_2: Runnable = RunnablePassthrough()
spy_seq_step = mocker.spy(fake_1.__class__, "invoke") spy_seq_step = mocker.spy(fake_1.__class__, "invoke")
sequence = fake_1.with_config(tags=["a-tag"]) | fake_2.with_config( sequence = fake_1.with_config(tags=["a-tag"]) | fake_2.with_config(