File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -624,8 +624,12 @@ def _decorate_scope(
624624 # We could make the developer pass these and then if they do they will
625625 # come back asking why they don't see refresh token or user information.
626626 raise ValueError (
627- "API does not accept {} value as user-provided scopes" .format (
628- reserved_scope ))
627+ """You cannot use any scope value that is reserved.
628+ Your input: {}
629+ The reserved list: {}""" .format (list (scope_set ), list (reserved_scope )))
630+ raise ValueError (
631+ "You cannot use any scope value that is in this reserved list: {}" .format (
632+ list (reserved_scope )))
629633
630634 # client_id can also be used as a scope in B2C
631635 decorated = scope_set | reserved_scope
Original file line number Diff line number Diff line change @@ -507,12 +507,8 @@ class LabBasedTestCase(E2eTestCase):
507507 @classmethod
508508 def setUpClass (cls ):
509509 # https://docs.msidlab.com/accounts/apiaccess.html#code-snippet
510- try :
511- cls .session = get_session (get_lab_app (), ["https://msidlab.com/.default" ])
512- except LabTokenError :
513- cls .session = get_session (get_lab_app (), [
514- # A lab change since June 10, 2024 which may or may not be reverted
515- "https://request.msidlab.com/.default" ,
510+ cls .session = get_session (get_lab_app (), [
511+ "https://request.msidlab.com/.default" , # A lab change since June 10, 2024
516512 ])
517513
518514 @classmethod
You can’t perform that action at this time.
0 commit comments