From 26e5e0e50c73c758cdcbdf674f27849589f5aee4 Mon Sep 17 00:00:00 2001 From: jmcguffee Date: Thu, 14 Sep 2023 17:19:46 -0400 Subject: [PATCH] Updated arg naming to match rest of file --- tests/entities/repos/test_institutions_repo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/entities/repos/test_institutions_repo.py b/tests/entities/repos/test_institutions_repo.py index 8e16c87..b645e2c 100644 --- a/tests/entities/repos/test_institutions_repo.py +++ b/tests/entities/repos/test_institutions_repo.py @@ -47,12 +47,12 @@ async def test_get_institutions_by_domain_not_existing( res = await repo.get_institutions(query_session, domain="testing.bank") assert len(res) == 0 - async def test_get_institutions_by_lei_list(self, session: AsyncSession): - res = await repo.get_institutions(session, leis=['TESTBANK123', 'TESTBANK456']) + async def test_get_institutions_by_lei_list(self, query_session: AsyncSession): + res = await repo.get_institutions(query_session, leis=['TESTBANK123', 'TESTBANK456']) assert len(res) == 2 - async def test_get_institutions_by_lei_list_item_not_existing(self, session: AsyncSession): - res = await repo.get_institutions(session, leis=["NOTTESTBANK"]) + async def test_get_institutions_by_lei_list_item_not_existing(self, query_session: AsyncSession): + res = await repo.get_institutions(query_session, leis=["NOTTESTBANK"]) assert len(res) == 0 async def test_add_institution(self, transaction_session: AsyncSession):