File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,15 @@ def test_unconfigured_app_should_raise_exception(self):
30
30
_signin_interactively (self ._authority , client_id , self ._scopes )
31
31
# Note: _acquire_token_silently() would raise same exception,
32
32
# we skip its test here due to the lack of a valid account_id
33
+
34
+ def test_login_hint (self ):
35
+ pass # TODO
36
+
37
+ def test_signin_interactively_and_select_account (self ):
38
+ client_id = "26a7ee05-5602-4d76-a7ba-eae8b7b67941" # A pre-configured test app
39
+ print ("An account picker UI will pop up. See whether the auth result matches your account" )
40
+ result = _signin_interactively (
41
+ self ._authority , client_id , self ._scopes , prompt = "select_account" )
42
+ self .assertIsNotNone (result .get ("access_token" ), result )
43
+ import pprint ; pprint .pprint (result )
44
+
You can’t perform that action at this time.
0 commit comments