summaryrefslogtreecommitdiffstats
path: root/result_collection_api/tests/unit/fake_pymongo.py
AgeCommit message (Collapse)AuthorFilesLines
2016-06-01project-ize testAPISerenaFeng1-144/+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 periodSerenaFeng1-1/+14
JIRA: FUNCTEST-281 Change-Id: I3d0bdc302afc45593ad3feaec21b89d5c6eeaa0b 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-29swagger-ize result-apis of testAPISerenaFeng1-0/+2
JIRA: FUNCTEST-270 Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng1-7/+8
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-20add unittests for testcase and refactor testcase related implementationSerenaFeng1-1/+1
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 responseSerenaFeng1-2/+2
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 testAPISerenaFeng1-0/+3
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 testAPISerenaFeng1-0/+129
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>