mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-07 05:38:06 -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"))
|
config = ServerConfig(server_name, urlparse("https://example.org"))
|
||||||
|
|
||||||
pan_queue = janus.Queue(loop=loop)
|
pan_queue = janus.Queue()
|
||||||
ui_queue = janus.Queue(loop=loop)
|
ui_queue = janus.Queue()
|
||||||
|
|
||||||
proxy = ProxyDaemon(
|
proxy = ProxyDaemon(
|
||||||
config.name,
|
config.name,
|
||||||
|
@ -27,7 +27,7 @@ ALICE_ID = "@alice:example.org"
|
|||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
async def client(tmpdir, loop):
|
async def client(tmpdir, loop):
|
||||||
store = PanStore(tmpdir)
|
store = PanStore(tmpdir)
|
||||||
queue = janus.Queue(loop=loop)
|
queue = janus.Queue()
|
||||||
conf = ServerConfig("example", "https://exapmle.org")
|
conf = ServerConfig("example", "https://exapmle.org")
|
||||||
conf.history_fetch_delay = 0.1
|
conf.history_fetch_delay = 0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user