Skip to content

Commit 137dee4

Browse files
committed
Update error hints for where to get OBO test apps
1 parent b92b4f1 commit 137dee4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_e2e.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -934,10 +934,10 @@ def test_adfs2019_onprem_acquire_token_interactive(self):
934934
"Need LAB_OBO_CLIENT_SECRET from https://aka.ms/GetLabSecret?Secret=TodoListServiceV2-OBO")
935935
@unittest.skipUnless(
936936
os.getenv("LAB_OBO_CONFIDENTIAL_CLIENT_ID"),
937-
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
937+
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
938938
@unittest.skipUnless(
939939
os.getenv("LAB_OBO_PUBLIC_CLIENT_ID"),
940-
"Need LAB_OBO_PUBLIC_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
940+
"Need LAB_OBO_PUBLIC_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
941941
def test_acquire_token_obo(self):
942942
config = self.get_lab_user(usertype="cloud")
943943

@@ -998,7 +998,7 @@ def test_acquire_token_by_client_secret(self):
998998
"Need LAB_OBO_CLIENT_SECRET from https://aka.ms/GetLabSecret?Secret=TodoListServiceV2-OBO")
999999
@unittest.skipUnless(
10001000
os.getenv("LAB_OBO_CONFIDENTIAL_CLIENT_ID"),
1001-
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
1001+
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
10021002
def test_confidential_client_acquire_token_by_username_password(self):
10031003
# This approach won't work:
10041004
# config = self.get_lab_user(usertype="cloud", publicClient="no")
@@ -1215,10 +1215,10 @@ def test_acquire_token_for_client_should_use_an_env_var_with_long_region_name(se
12151215
"Need LAB_OBO_CLIENT_SECRET from https://aka.ms/GetLabSecret?Secret=TodoListServiceV2-OBO")
12161216
@unittest.skipUnless(
12171217
os.getenv("LAB_OBO_CONFIDENTIAL_CLIENT_ID"),
1218-
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
1218+
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
12191219
@unittest.skipUnless(
12201220
os.getenv("LAB_OBO_PUBLIC_CLIENT_ID"),
1221-
"Need LAB_OBO_PUBLIC_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
1221+
"Need LAB_OBO_PUBLIC_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
12221222
def test_cca_obo_should_bypass_regional_endpoint_therefore_still_work(self):
12231223
"""We test OBO because it is implemented in sub class ConfidentialClientApplication"""
12241224
config = self.get_lab_user(usertype="cloud")
@@ -1246,7 +1246,7 @@ def test_cca_obo_should_bypass_regional_endpoint_therefore_still_work(self):
12461246
"Need LAB_OBO_CLIENT_SECRET from https://aka.ms/GetLabSecret?Secret=TodoListServiceV2-OBO")
12471247
@unittest.skipUnless(
12481248
os.getenv("LAB_OBO_CONFIDENTIAL_CLIENT_ID"),
1249-
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://docs.msidlab.com/flows/onbehalfofflow.html")
1249+
"Need LAB_OBO_CONFIDENTIAL_CLIENT_ID from https://identitydivision.visualstudio.com/Engineering/_git/IDLABS?path=/src/DocFX/LabDocs/flows/onbehalfofflow.md&_a=preview")
12501250
def test_cca_ropc_should_bypass_regional_endpoint_therefore_still_work(self):
12511251
"""We test ROPC because it is implemented in base class ClientApplication"""
12521252
config = self.get_lab_user(usertype="cloud")

0 commit comments

Comments
 (0)