Skip to content

Commit 18174ed

Browse files
committed
The old test app was somehow disabled
1 parent 403fed5 commit 18174ed

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_broker.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@ def test_signin_interactive_then_acquire_token_silent_then_signout(self):
4141
self.assertIn("Status_AccountUnusable", result.get("error_description", ""))
4242

4343
def test_unconfigured_app_should_raise_exception(self):
44-
app_without_needed_redirect_uri = "289a413d-284b-4303-9c79-94380abe5d22"
44+
self.skipTest(
45+
"After PyMsalRuntime 0.13.2, "
46+
"AADSTS error codes were removed from error_context; "
47+
"it is not in telemetry either.")
48+
app_without_needed_redirect_uri = "f62c5ae3-bf3a-4af5-afa8-a68b800396e9" # This is the lab app. We repurpose it to be used here
4549
with self.assertRaises(RedirectUriError):
46-
_signin_interactively(
50+
result = _signin_interactively(
4751
self._authority, app_without_needed_redirect_uri, self._scopes, None)
52+
print(result)
4853
# Note: _acquire_token_silently() would raise same exception,
4954
# we skip its test here due to the lack of a valid account_id
5055

0 commit comments

Comments
 (0)