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 @@ -86,7 +86,7 @@ def assertCacheWorksForUser(
8686 self .assertNotEqual (0 , len (accounts ))
8787 account = accounts [0 ]
8888 if ("scope" not in result_from_wire # This is the usual case
89- or # Authority server could reject some scopes
89+ or # Authority server could return different set of scopes
9090 set (scope ) <= set (result_from_wire ["scope" ].split (" " ))
9191 ):
9292 # Going to test acquire_token_silent(...) to locate an AT from cache
@@ -115,7 +115,7 @@ def assertCacheWorksForUser(
115115 # result_from_wire['access_token'] != result_from_cache['access_token']
116116 # but ROPC in B2C tends to return the same AT we obtained seconds ago.
117117 # Now looking back, "refresh_token grant would return a brand new AT"
118- # was just an empirical observation but never a committment in specs,
118+ # was just an empirical observation but never a commitment in specs,
119119 # so we adjust our way to assert here.
120120 (result_from_cache or {}).get ("access_token" ),
121121 "We should get an AT from acquire_token_silent(...) call" )
You can’t perform that action at this time.
0 commit comments