summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/tests/unit/test_result.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-18rename result_collection_api to testapiSerenaFeng1-339/+0
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-14Fix security issues of eval-s in testapiSerenaFeng1-1/+1
results from security audit show risks and recommendations to fix them JIRA: RELENG-144 Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng1-0/+18
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng1-9/+42
update trust_indicator date model add update trust_indicator method add unittest add swagger information JIRA: FUNCTEST-309 Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-15support keys start with '$' or contain '.' in testAPISerenaFeng1-0/+8
set check_keys=False in insert and update db fix update and insert stub in fake_pymongo.py add unittest for check_keys in test_fake_pymongo.py JIRA: FUNCTEST-313 Change-Id: I4051ec4a1c70996c87167643f6ea19993f5b0811 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-06add unittest for 'last' query of results in testAPISerenaFeng1-14/+30
add 'last' related unittest in test_result.py implement sort()&limit() in fake_pymongo.py refactor 'sort' model in result_handlers.py JIRA: FUNCTEST-296 Change-Id: Ib5371f1df67f170e3ba26c6da27a651e34f2b0d6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-04remove not used 'import copy'SerenaFeng1-5/+4
remove not used 'import copy' in test_result.py JIRA: FUNCTEST-293 Change-Id: I6c8db5674e6dd9770cd859c74d43bd5b9440544a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-03Merge "add copyright to files in testAPI"Morgan Richomme1-2/+8
2016-06-02add copyright to files in testAPISerenaFeng1-2/+8
add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-02remove unittest test_createSameResults in testAPISerenaFeng1-9/+0
remove unittest test_createSameResults in test_results.py JIRA: FUNCTEST-288 Change-Id: I5c1e8eb6c09a5ced1a6cdd380e9c37961136e6d2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01add router package to implement url-2-XXXHandlers mappings in testAPI projectSerenaFeng1-1/+2
and eliminate flake8 violation JIRA: FUNCTEST-285 Change-Id: I15b568a97279032549f24ff81520220e271f3488 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-01project-ize testAPISerenaFeng1-0/+267
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>