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

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

The get_access_token method fails if access is denied

Definition at line 111 of file test_auth.py.

00111                                           :
        """The get_access_token method fails if access is denied"""
        self.mock_no_token(gnomekeyring.DeniedError)
        self.replay()
        self.assertRaises(NoAccessToken, self.client.get_access_token)

    def test_have_access_token(self):


Generated by  Doxygen 1.6.0   Back to index