Merge pull request #191 from matrix-org/fix-failing-tests

chore: Fix failing tests by removing unused fixture
This commit is contained in:
Hank Greenburg 2025-04-07 13:50:52 -07:00 committed by GitHub
commit 9fe0e80128
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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