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):
71
71
print ("Testing broker username password flows by using accounts in local .env" )
72
72
username = os .getenv ("BROKER_TEST_ACCOUNT" ) or input ("Input test account for broker test: " )
73
73
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"
75
75
result = pca .acquire_token_by_username_password (username , password , scopes )
76
76
_assert (result , expected_token_type )
77
- assert ( result .get ("token_source" ) == "broker" )
77
+ assert result .get ("token_source" ) == "broker"
78
78
print ("Username password test succeeds." )
79
79
80
80
def _assert (result , expected_token_type ):
You can’t perform that action at this time.
0 commit comments