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

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

The get_access_token method returns the access token

Definition at line 96 of file test_auth.py.

00096                                    :
        """The get_access_token method returns the access token"""
        self.mock_has_token()
        self.replay()
        token = self.client.get_access_token()
        self.assertTrue(isinstance(token, oauth.OAuthToken))
        self.assertEqual(token.key, 'access_key')
        self.assertEqual(token.secret, 'access_secret')

    def test_get_access_token_no_match(self):


Generated by  Doxygen 1.6.0   Back to index