criteria field must be 'PASS/FAIL'
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 20 Oct 2017 07:21:59 +0000 (15:21 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 20 Oct 2017 07:21:59 +0000 (15:21 +0800)
commit5b2b99e43eba2e7dfd2694ce165c1945642c3838
tree4857fab1ebc90e96be984b5bf41b6f5181955370
parentac50de317715d09a2b6583ecbecc212338df6df7
criteria field must be 'PASS/FAIL'

criteria must be fix with 'PASS/FAIL', case insensitive
or else, BADREQUEST exception will be raises

JIRA: RELENG-327

Change-Id: Ic648b9d38937fc63924e42cfdf5345cdaa32e1ed
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/common/check.py
testapi/opnfv_testapi/common/message.py
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/resources/result_handlers.py
testapi/opnfv_testapi/tests/unit/resources/test_result.py