test APi evolution add filter to retrieve last results 63/15163/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Sat, 4 Jun 2016 06:58:14 +0000 (14:58 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Sat, 4 Jun 2016 07:13:14 +0000 (15:13 +0800)
commit5d2050686734a4636efe1bd35221a7d6c60a3d5f
treedb4ef42abd479192c7de4e91e0edd657aaa5c43b
parent9e24fcf1a2333e4bf65c1bf6e6c159071fab087c
test APi evolution add filter to retrieve last results

add 'last' query parameter prcess in ResultsCLHandler.get()
add 'sort' and 'last' parameters process in GenericApiHandler._list()
add sort() and limit() fake in fake_pymongo.py

JIRA: FUNCTEST-259

Change-Id: I96c1ff37325c65cf9c421f4277662dde28b1473d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utils/test/result_collection_api/opnfv_testapi/resources/handlers.py
utils/test/result_collection_api/opnfv_testapi/resources/result_handlers.py
utils/test/result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py