diff --git a/acapy_agent/config/tests/test_ledger.py b/acapy_agent/config/tests/test_ledger.py index 813e9c5d88..638a6fe11e 100644 --- a/acapy_agent/config/tests/test_ledger.py +++ b/acapy_agent/config/tests/test_ledger.py @@ -645,7 +645,6 @@ async def test_ledger_accept_taa_tty(self, mock_stdout): } with ( - mock.patch.object(test_module, "use_asyncio_event_loop", mock.MagicMock()), mock.patch.object( test_module.prompt_toolkit, "prompt", mock.CoroutineMock() ) as mock_prompt, @@ -656,9 +655,6 @@ async def test_ledger_accept_taa_tty(self, mock_stdout): ) with ( - mock.patch.object( - test_module, "use_asyncio_event_loop", mock.MagicMock() - ) as mock_use_aio_loop, mock.patch.object( test_module.prompt_toolkit, "prompt", mock.CoroutineMock() ) as mock_prompt, @@ -669,9 +665,6 @@ async def test_ledger_accept_taa_tty(self, mock_stdout): ) with ( - mock.patch.object( - test_module, "use_asyncio_event_loop", mock.MagicMock() - ) as mock_use_aio_loop, mock.patch.object( test_module.prompt_toolkit, "prompt", mock.CoroutineMock() ) as mock_prompt,