mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-05 21:01:08 -05:00
tests: Don't use the loop argument for janus queues.
This commit is contained in:
parent
c732fd7141
commit
bf8bded354
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user