def METHOD_NAME(self):
    self.prepare_data()
    rv = self.client.post('/oauth/revoke')
    resp = json.loads(rv.data)
    self.assertEqual(resp['error'], 'invalid_client')
    headers = {'Authorization': 'invalid token_string'}
    rv = self.client.post('/oauth/revoke', headers=headers)
    resp = json.loads(rv.data)
    self.assertEqual(resp['error'], 'invalid_client')
    headers = self.create_basic_header(
        'invalid-client', 'revoke-secret'
    )
    rv = self.client.post('/oauth/revoke', headers=headers)
    resp = json.loads(rv.data)
    self.assertEqual(resp['error'], 'invalid_client')
    headers = self.create_basic_header(
        'revoke-client', 'invalid-secret'
    )
    rv = self.client.post('/oauth/revoke', headers=headers)
    resp = json.loads(rv.data)
    self.assertEqual(resp['error'], 'invalid_client')