diff --git a/tests/conftest.py b/tests/conftest.py index f473ad8..c79de19 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -118,8 +118,8 @@ async def pan_proxy_server(tempdir, aiohttp_server): config = ServerConfig(server_name, urlparse("https://example.org")) - pan_queue = janus.Queue(loop=loop) - ui_queue = janus.Queue(loop=loop) + pan_queue = janus.Queue() + ui_queue = janus.Queue() proxy = ProxyDaemon( config.name, diff --git a/tests/pan_client_test.py b/tests/pan_client_test.py index 4bfa844..7202698 100644 --- a/tests/pan_client_test.py +++ b/tests/pan_client_test.py @@ -27,7 +27,7 @@ ALICE_ID = "@alice:example.org" @pytest.fixture async def client(tmpdir, loop): store = PanStore(tmpdir) - queue = janus.Queue(loop=loop) + queue = janus.Queue() conf = ServerConfig("example", "https://exapmle.org") conf.history_fetch_delay = 0.1