Skip to content

Commit e717407

Browse files
committed
Fine tune some inline comments
1 parent da0a463 commit e717407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_e2e.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)