def test_revoke_abstract(self): credentials = client.Credentials() http = object() with self.assertRaises(NotImplementedError): credentials.revoke(http)