def METHOD_NAME(self):
    payload = {'software_id': 'uuid-123', 'client_name': 'Authlib'}
    s = jwt.encode({'alg': 'RS256'}, payload, read_file_path('rsa_private.pem'))
    body = {
        'software_statement': s.decode('utf-8'),
    }
    self.prepare_data()
    headers = {'Authorization': 'bearer abc'}
    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')