diff --git a/conftest.py b/conftest.py index 971eb50..f6f4f71 100644 --- a/conftest.py +++ b/conftest.py @@ -7,6 +7,8 @@ from typing import Any, Tuple import pytest +import jmclient # install asyncioreactor + def get_bitcoind_version(bitcoind_path: str, conf: str) -> Tuple[int, int]: """ diff --git a/test/unified/test_e2e_coinjoin.py b/test/unified/test_e2e_coinjoin.py index 0957f04..fdc38d1 100644 --- a/test/unified/test_e2e_coinjoin.py +++ b/test/unified/test_e2e_coinjoin.py @@ -178,6 +178,7 @@ class TWalletRPCManager(object): class E2ETCoinjoinTests(TrialTestCase): def setUp(self): + asyncio.set_event_loop(reactor._asyncioEventloop) # For quicker testing, restrict the range of timelock # addresses to avoid slow load of multiple bots. self._orig_TIMELOCK_ERA_YEARS = \