Problem with rally_sanity results
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 1 Mar 2017 09:29:31 +0000 (17:29 +0800)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 2 Mar 2017 12:41:39 +0000 (12:41 +0000)
commit7bd55a251deae0137887ce8429d634abd81a9042
treec23c3c66959bbb5ded5b9a3e31eaca9577dfc2dd
parent3cb5e9d6f7e585150ca67eaaf879a3b856eb45a3
Problem with rally_sanity results

after refactor, details in rally_sanity became 'unicode',
which contains built-in 'format' method, which is not processed correctly
error message:
File
"/usr/local/lib/python2.7/dist-packages/opnfv_testapi/resources/models.py",
  line 36, in _format
    for h in dicts[k]]
        KeyError: u"u'details'"

JIRA: FUNCTEST-723

Change-Id: If35e55f542fbbae8bd1a534938b7279b7a634880
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/resources/models.py