Skip to content

Commit 2cad8b0

Browse files
committed
Changed fixture name
1 parent 66a53ea commit 2cad8b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_asyncio/test_credentials.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
@pytest_asyncio.fixture()
26-
async def r(request, create_redis):
26+
async def r_credential(request, create_redis):
2727
credential_provider = request.param.get("cred_provider_class", None)
2828

2929
if credential_provider is not None:
@@ -420,7 +420,7 @@ async def re_auth_callback(token):
420420
@pytest.mark.onlynoncluster
421421
class TestEntraIdCredentialsProvider:
422422
@pytest.mark.parametrize(
423-
"r",
423+
"r_credential",
424424
[
425425
{
426426
"cred_provider_class": EntraIdCredentialsProvider,
@@ -434,5 +434,5 @@ class TestEntraIdCredentialsProvider:
434434
indirect=True,
435435
)
436436
@pytest.mark.asyncio
437-
async def test_async_auth_pool_with_credential_provider(self, r: Redis):
438-
assert await r.ping() is True
437+
async def test_async_auth_pool_with_credential_provider(self, r_credential: Redis):
438+
assert await r_credential.ping() is True

0 commit comments

Comments
 (0)