File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ def test_broker_username_password(scopes, expected_token_type):
7171 print ("Testing broker username password flows by using accounts in local .env" )
7272 username = os .getenv ("BROKER_TEST_ACCOUNT" ) or input ("Input test account for broker test: " )
7373 password = os .getenv ("BROKER_TEST_ACCOUNT_PASSWORD" ) or getpass .getpass ("Input test account's password: " )
74- assert ( username and password , "You need to provide a test account and its password" )
74+ assert username and password , "You need to provide a test account and its password"
7575 result = pca .acquire_token_by_username_password (username , password , scopes )
7676 _assert (result , expected_token_type )
77- assert ( result .get ("token_source" ) == "broker" )
77+ assert result .get ("token_source" ) == "broker"
7878 print ("Username password test succeeds." )
7979
8080def _assert (result , expected_token_type ):
You can’t perform that action at this time.
0 commit comments