summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2017-02-20 13:25:05 +0530
committerrohitsakala <rohitsakala@gmail.com>2017-02-22 01:30:31 +0530
commitb01de8dd84c1189b03b17358ff091b5ce326e87e (patch)
treea6c4860f07015f1fb2d593e066419bad5296af92 /testapi/opnfv_testapi/tests/unit/fake_pymongo.py
parentdab82680003368d358df501fddc5a8c03561664e (diff)
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>
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/fake_pymongo.py')
-rw-r--r--testapi/opnfv_testapi/tests/unit/fake_pymongo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/fake_pymongo.py b/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
index 3c4fd01..ef74a08 100644
--- a/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
+++ b/testapi/opnfv_testapi/tests/unit/fake_pymongo.py
@@ -242,3 +242,4 @@ projects = MemDb('projects')
testcases = MemDb('testcases')
results = MemDb('results')
scenarios = MemDb('scenarios')
+tokens = MemDb('tokens')