add case-insensitive for find pods query 77/40977/10
authorthuva4 <tharma.thuva@gmail.com>
Thu, 7 Sep 2017 13:33:57 +0000 (19:03 +0530)
committerthuva4 <tharma.thuva@gmail.com>
Mon, 11 Sep 2017 09:18:55 +0000 (14:48 +0530)
commit6c5fcb955cada2b6323742a07ba4d38edd08ff67
tree290f7476058a042a620294aae5be6613a813a474
parent5283e9de99b87d74cb5bb28da04b48f17c02a3b6
add case-insensitive for find pods query

Now user can't create the pods with the same name.
Just like "Demo" , "deMo" and "demo"

Add unit test for case-insensitive query

Change-Id: Ifddc7b70a38d8504e5fe105fa5cc1a77bf0e39a9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
utils/test/testapi/.gitignore
utils/test/testapi/opnfv_testapi/common/check.py
utils/test/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
utils/test/testapi/opnfv_testapi/tests/unit/resources/test_pod.py