Add unit tests to token based authentication 55/29055/16
authorrohitsakala <rohitsakala@gmail.com>
Mon, 20 Feb 2017 07:55:05 +0000 (13:25 +0530)
committerrohitsakala <rohitsakala@gmail.com>
Tue, 21 Feb 2017 20:00:31 +0000 (01:30 +0530)
commit9043c0ab9aaea52a2419ec22b66606ef444f1a1c
tree4b20cd91f32fc6270f9df8906d0a849293b0fe1c
parent914c2788ae0f240c1a7a4e060213c531a602d6c7
Add unit tests to token based authentication

Projects has been choosen as an helper to test token success,invalid and
unauthorized

JIRA: FUNCTEST-739

Change-Id: Iecc68821f5cc85630c17e54144723cc6f5e21ded
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
utils/test/testapi/opnfv_testapi/resources/handlers.py
utils/test/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
utils/test/testapi/opnfv_testapi/tests/unit/test_token.py [new file with mode: 0644]