add case-insensitive for find pods query
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)
commitb1ef7b7f6f892763da375a72c0a4c1d9f4790db3
treee56857badc00dde6118b9f1ab6c69112b63b6066
parentb3580028292d2927564020e8143bc1f659ef0ab3
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>
testapi/.gitignore
testapi/opnfv_testapi/common/check.py
testapi/opnfv_testapi/tests/unit/fake_pymongo.py
testapi/opnfv_testapi/tests/unit/resources/test_pod.py