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

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

Makes sure that clear token clears an existing token.

Definition at line 154 of file test_auth.py.

00154                                        :
        """Makes sure that clear token clears an existing token."""
        self.mock_has_token()
        self.expect(self.keyring.item_delete_sync(None, self.item_id))
        self.replay()
        self.client.clear_token()

    def test_clear_no_existing_token(self):


Generated by  Doxygen 1.6.0   Back to index