def METHOD_NAME(self):
    self.prepare_data()
    headers = {'Authorization': 'bearer abc'}
    body = {
        'client_name': 'Authlib'
    }
    rv = self.client.post('/create_client', json=body, headers=headers)
    resp = json.loads(rv.data)
    self.assertIn('client_id', resp)
    self.assertEqual(resp['client_name'], 'Authlib')