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(
624
624
# We could make the developer pass these and then if they do they will
625
625
# come back asking why they don't see refresh token or user information.
626
626
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 )))
629
633
630
634
# client_id can also be used as a scope in B2C
631
635
decorated = scope_set | reserved_scope
Original file line number Diff line number Diff line change @@ -507,12 +507,8 @@ class LabBasedTestCase(E2eTestCase):
507
507
@classmethod
508
508
def setUpClass (cls ):
509
509
# 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
516
512
])
517
513
518
514
@classmethod
You can’t perform that action at this time.
0 commit comments