Add unit tests to token based authentication
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)
commitb01de8dd84c1189b03b17358ff091b5ce326e87e
treea6c4860f07015f1fb2d593e066419bad5296af92
parentdab82680003368d358df501fddc5a8c03561664e
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>
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/tests/unit/fake_pymongo.py
testapi/opnfv_testapi/tests/unit/test_token.py [new file with mode: 0644]