diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-06-01 01:49:51 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-06-02 16:13:45 +0000 |
commit | a5ac84f2ff1471620da0bcd63f2ee4028c661918 (patch) | |
tree | 5fda897a6f6900e44c5d88793e4fffa2b126802b /reporting/api | |
parent | ff3b3116de42dbd63fe8952700de7fa2a7134502 (diff) |
Change to 'catalog_description' in Catalogue page
JIRA: RELENG-231
Change-Id: Id0b770575c0d91a58b3503f8580bd658337b2cd0
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting/api')
-rw-r--r-- | reporting/api/api/handlers/testcases.py | 2 |
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)) |