Skip to content

Commit

Permalink
Changed fixture name
Browse files Browse the repository at this point in the history
  • Loading branch information
vladvildanov committed Dec 12, 2024
1 parent 66a53ea commit 2cad8b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_asyncio/test_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


@pytest_asyncio.fixture()
async def r(request, create_redis):
async def r_credential(request, create_redis):
credential_provider = request.param.get("cred_provider_class", None)

if credential_provider is not None:
Expand Down Expand Up @@ -420,7 +420,7 @@ async def re_auth_callback(token):
@pytest.mark.onlynoncluster
class TestEntraIdCredentialsProvider:
@pytest.mark.parametrize(
"r",
"r_credential",
[
{
"cred_provider_class": EntraIdCredentialsProvider,
Expand All @@ -434,5 +434,5 @@ class TestEntraIdCredentialsProvider:
indirect=True,
)
@pytest.mark.asyncio
async def test_async_auth_pool_with_credential_provider(self, r: Redis):
assert await r.ping() is True
async def test_async_auth_pool_with_credential_provider(self, r_credential: Redis):
assert await r_credential.ping() is True

0 comments on commit 2cad8b0

Please sign in to comment.