Which results in a 500 error when trying to access the `Performance
Counter` tab on the OSD list.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
'detail': str,
'traceback': str,
})
- self.assertEqual(self._resp.json()['detail'], 'osd.{} not found'.format(unused_id))
+ self.assertEqual(self._resp.json()['detail'], "'osd.{}' not found".format(unused_id))
self.assertSchemaBody(schema)
try:
schema = schema_dict["{}.{}".format(self.service_type, service_id)]
except KeyError as e:
- raise cherrypy.HTTPError(404, "{0} not found".format(e.message))
+ raise cherrypy.HTTPError(404, "{0} not found".format(e))
counters = []
for key, value in sorted(schema.items()):