support keys start with '$' or contain '.' in testAPI
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 15 Jun 2016 01:49:35 +0000 (09:49 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 15 Jun 2016 08:05:37 +0000 (16:05 +0800)
commit95c48ad7ad59486c609c3285c457d0352884e3d7
tree2153ff64815a175dd342ad2c713fe4243ea8384a
parent9b418c0af7968c16cc661448bf7b4b7d5e116ee4
support keys start with '$' or contain '.' in testAPI

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>
result_collection_api/opnfv_testapi/resources/handlers.py
result_collection_api/opnfv_testapi/tests/unit/fake_pymongo.py
result_collection_api/opnfv_testapi/tests/unit/test_fake_pymongo.py
result_collection_api/opnfv_testapi/tests/unit/test_result.py
result_collection_api/opnfv_testapi/tests/unit/test_testcase.py