@@ -512,9 +512,9 @@ def test_password_grant_type_ok(self):
512512 areq = ROPCAccessTokenRequest (
513513 grant_type = "password" , username = "username" , password = "password"
514514 )
515- areq [
516- "client_id"
517- ] = "client1" # Token endpoint would fill that in based on client_authn
515+ areq ["client_id" ] = (
516+ "client1" # Token endpoint would fill that in based on client_authn
517+ )
518518 resp = self .provider .password_grant_type (areq )
519519
520520 atr = AccessTokenResponse ().deserialize (resp .message , "json" )
@@ -527,9 +527,9 @@ def test_password_grant_type_no_authn(self):
527527 areq = ROPCAccessTokenRequest (
528528 grant_type = "password" , username = "username" , password = "password"
529529 )
530- areq [
531- "client_id"
532- ] = "client1" # Token endpoint would fill that in based on client_authn
530+ areq ["client_id" ] = (
531+ "client1" # Token endpoint would fill that in based on client_authn
532+ )
533533 resp = self .provider .password_grant_type (areq )
534534
535535 atr = TokenErrorResponse ().deserialize (resp .message , "json" )
@@ -542,9 +542,9 @@ def test_password_grant_type_bad(self):
542542 areq = ROPCAccessTokenRequest (
543543 grant_type = "password" , username = "username" , password = "bad_password"
544544 )
545- areq [
546- "client_id"
547- ] = "client1" # Token endpoint would fill that in based on client_authn
545+ areq ["client_id" ] = (
546+ "client1" # Token endpoint would fill that in based on client_authn
547+ )
548548 resp = self .provider .password_grant_type (areq )
549549
550550 atr = TokenErrorResponse ().deserialize (resp .message , "json" )
0 commit comments