tests: Don't use the loop argument for janus queues.

This commit is contained in:
Damir Jelić 2020-04-29 16:48:43 +02:00
parent c732fd7141
commit bf8bded354
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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