summaryrefslogtreecommitdiffstats
path: root/result_collection_api/tests/unit
AgeCommit message (Collapse)AuthorFilesLines
2016-06-01project-ize testAPISerenaFeng10-1116/+0
JIRA: FUNCTEST-284 Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: query results failed due to wrong using periodSerenaFeng2-6/+35
JIRA: FUNCTEST-281 Change-Id: I3d0bdc302afc45593ad3feaec21b89d5c6eeaa0b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31Merge "bugfix: query results failed due to wrong using type of trust_indicator"Morgan Richomme1-5/+6
2016-05-31bugfix: query results failed due to wrong using type of trust_indicatorSerenaFeng1-5/+6
trust_indicator must be int/long/float rather than string JIRA: FUNCTEST-280 Change-Id: I2e2b292f9181fd28896bfe1e3b86ec3976b65016 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31Merge "bugfix: version return body is inconsistent with the designed model"Morgan Richomme1-6/+5
2016-05-31Merge "refactor fake_pymongo.py to eliminate repeated codes"Morgan Richomme1-15/+11
2016-05-31bugfix: version return body is inconsistent with the designed modelSerenaFeng1-6/+5
JIRA: FUNCTEST-278 Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-31bugfix: query results failed due to using mutable list initiationSerenaFeng2-1/+1
and forget to swagger-ize TestResult model JIRA: FUNCTEST-277 Change-Id: I5d8ddd9983484a61df9b77392d5ae24bde6a16dc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30refactor fake_pymongo.py to eliminate repeated codesSerenaFeng1-15/+11
JIRA: FUNCTEST-276 Change-Id: I2e40e12bc5b472aae88d294fb11dc479d5dd538c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30eliminate flake8 violation of testAPISerenaFeng1-12/+0
JIRA: FUNCTEST-274 Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-30swagger-ize dashboard and version apis of testAPISerenaFeng3-3/+26
JIRA: FUNCTEST-273 Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-29swagger-ize result-apis of testAPISerenaFeng6-16/+17
JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-27swagger-ize testcase-apis of testAPISerenaFeng3-9/+23
Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace JIRA: FUNCTEST-266 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize project-apis of testAPISerenaFeng2-4/+17
rename pod_handler.py to pod_handlers.py JIRA: FUNCTEST-264 Change-Id: I8699999776bdb238f680a128b83cea0a098534c5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26swagger-ize pod-apis of testAPISerenaFeng2-3/+16
JIRA: FUNCTEST-263 Change-Id: I293e05f565f882ea39bbf6368405f10241269716 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme7-35/+43
2016-05-26attach version number to url in testAPISerenaFeng7-35/+43
version - /versions api - /api/v1/pods(projects/results) dashboard - /dashboard/v1/results I tried to make the code smart, but in vain, sad...... JIRA: FUNCTEST-261 Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-25Test API add start_date, stop_date parameters in resultsMorgan Richomme1-4/+7
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Merge "add test result/dashboard related unittests in testAPI and refactor ↵Morgan Richomme6-32/+373
its response"
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng6-32/+373
modification: add unittests for test result/dashboard rename test_results table name in db to results refactor response body JIRA: FUNCTEST-255 Change-Id: I0657e6e95156a8c79072e7333fd8aaeb12d986e5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-24Add pod role in pod description in the APIMorgan Richomme1-2/+3
JIRA: FUNCTEST-259 Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-20add unittests for testcase and refactor testcase related implementationSerenaFeng4-35/+221
modification: add unittests for testcase refactor testcase table name in db to testcases refactor response body fix some bugs JIRA:FUNCTEST-254 Change-Id: Ia7c7101fa742af82bfc8c4a3d398a7dad601bca1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-19add unittests of project & refactor responseSerenaFeng5-87/+248
post body: {'href':'<http://ip:8000/pods/pod_name >'} get body: Pod/Project list body: list of Pod/Project update body: Pod/Project delete: no body JIRA: FUNCTEST-253 Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-18add pod related unittests in testAPISerenaFeng3-6/+113
unittest for create/get/list pod in testAPI project JIRA: FUNCTEST-252 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-17add unittest framework for supporting unittest in testAPISerenaFeng5-0/+232
usage is shown in utils/test/result_collection_api/README.md JIRA: FUNCTEST-251 Change-Id: I788417e296c153cc485f4a4064697bdafc394e5b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>