summaryrefslogtreecommitdiffstats
path: root/reporting/api/api/handlers/testcases.py
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/api/api/handlers/testcases.py')
-rw-r--r--reporting/api/api/handlers/testcases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporting/api/api/handlers/testcases.py b/reporting/api/api/handlers/testcases.py
index 110ac4c..2b91186 100644
--- a/reporting/api/api/handlers/testcases.py
+++ b/reporting/api/api/handlers/testcases.py
@@ -20,7 +20,7 @@ class TestCases(BaseHandler):
url = '{}/projects/{}/cases'.format(conf.base_url, project)
cases = requests.get(url).json().get('testcases', [])
- data = [t['name'] for t in cases]
+ data = [{t['name']: t['catalog_description']} for t in cases]
self.write(json_encode(data))