mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-04-11 18:59:16 -04:00
Merge pull request #191 from matrix-org/fix-failing-tests
chore: Fix failing tests by removing unused fixture
This commit is contained in:
commit
9fe0e80128
@ -25,7 +25,7 @@ ALICE_ID = "@alice:example.org"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def client(tmpdir, loop):
|
||||
async def client(tmpdir):
|
||||
store = PanStore(tmpdir)
|
||||
queue = janus.Queue()
|
||||
conf = ServerConfig("example", "https://example.org")
|
||||
@ -371,7 +371,7 @@ class TestClass(object):
|
||||
|
||||
await client.loop_stop()
|
||||
|
||||
async def test_history_fetching_tasks(self, client, aioresponse, loop):
|
||||
async def test_history_fetching_tasks(self, client, aioresponse):
|
||||
if not INDEXING_ENABLED:
|
||||
pytest.skip("Indexing needs to be enabled to test this")
|
||||
|
||||
@ -447,7 +447,7 @@ class TestClass(object):
|
||||
|
||||
await client.loop_stop()
|
||||
|
||||
async def test_history_fetching_resume(self, client, aioresponse, loop):
|
||||
async def test_history_fetching_resume(self, client, aioresponse):
|
||||
if not INDEXING_ENABLED:
|
||||
pytest.skip("Indexing needs to be enabled to test this")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user