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(
86
86
self .assertNotEqual (0 , len (accounts ))
87
87
account = accounts [0 ]
88
88
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
90
90
set (scope ) <= set (result_from_wire ["scope" ].split (" " ))
91
91
):
92
92
# Going to test acquire_token_silent(...) to locate an AT from cache
@@ -115,7 +115,7 @@ def assertCacheWorksForUser(
115
115
# result_from_wire['access_token'] != result_from_cache['access_token']
116
116
# but ROPC in B2C tends to return the same AT we obtained seconds ago.
117
117
# 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,
119
119
# so we adjust our way to assert here.
120
120
(result_from_cache or {}).get ("access_token" ),
121
121
"We should get an AT from acquire_token_silent(...) call" )
You can’t perform that action at this time.
0 commit comments