@@ -537,7 +537,7 @@ def test_auth_pool_with_credential_provider(self, r_entra: redis.Redis):
537537 assert r_entra .ping () is True
538538
539539 @pytest .mark .parametrize (
540- "r " ,
540+ "r_entra " ,
541541 [
542542 {
543543 "cred_provider_class" : EntraIdCredentialsProvider ,
@@ -553,16 +553,16 @@ def test_auth_pool_with_credential_provider(self, r_entra: redis.Redis):
553553 )
554554 @pytest .mark .onlynoncluster
555555 @pytest .mark .cp_integration
556- def test_auth_pipeline_with_credential_provider (self , r : redis .Redis ):
557- pipe = r .pipeline ()
556+ def test_auth_pipeline_with_credential_provider (self , r_entra : redis .Redis ):
557+ pipe = r_entra .pipeline ()
558558
559559 pipe .set ('key' , 'value' )
560560 pipe .get ('key' )
561561
562562 assert pipe .execute () == [True , b'value' ]
563563
564564 @pytest .mark .parametrize (
565- "r " ,
565+ "r_entra " ,
566566 [
567567 {
568568 "cred_provider_class" : EntraIdCredentialsProvider ,
@@ -572,12 +572,12 @@ def test_auth_pipeline_with_credential_provider(self, r: redis.Redis):
572572 )
573573 @pytest .mark .onlynoncluster
574574 @pytest .mark .cp_integration
575- def test_auth_pubsub_with_credential_provider (self , r : redis .Redis ):
576- p = r .pubsub ()
575+ def test_auth_pubsub_with_credential_provider (self , r_entra : redis .Redis ):
576+ p = r_entra .pubsub ()
577577 p .subscribe ("entraid" )
578578
579- r .publish ('entraid' , 'test' )
580- r .publish ('entraid' , 'test' )
579+ r_entra .publish ('entraid' , 'test' )
580+ r_entra .publish ('entraid' , 'test' )
581581
582582 assert p .get_message ()['type' ] == 'subscribe'
583583 assert p .get_message ()['type' ] == 'message'
@@ -587,7 +587,7 @@ def test_auth_pubsub_with_credential_provider(self, r: redis.Redis):
587587@pytest .mark .cp_integration
588588class TestClusterEntraIdCredentialsProvider :
589589 @pytest .mark .parametrize (
590- "r " ,
590+ "r_entra " ,
591591 [
592592 {
593593 "cred_provider_class" : EntraIdCredentialsProvider ,
@@ -603,5 +603,5 @@ class TestClusterEntraIdCredentialsProvider:
603603 )
604604 @pytest .mark .onlycluster
605605 @pytest .mark .cp_integration
606- def test_auth_pool_with_credential_provider (self , r : redis .Redis ):
607- assert r .ping () is True
606+ def test_auth_pool_with_credential_provider (self , r_entra : redis .Redis ):
607+ assert r_entra .ping () is True
0 commit comments