Logo Search packages:      
Sourcecode: ubuntu-sso-client version File versions  Download package

def ubuntu_sso::tests::test_auth::AuthorisationClientTests::test_ensure_access_token (   self  ) 

If the user already has a token, no new token is requested.

Definition at line 167 of file test_auth.py.

00167                                       :
        """If the user already has a token, no new token is requested."""
        self.mock_has_token()
        callback_function = self.mocker.mock()
        callback_function(ANY)
        self.replay(callback_parent=callback_function)
        self.client.ensure_access_token()

    def test_ensure_access_token_no_token(self):


Generated by  Doxygen 1.6.0   Back to index