From b01de8dd84c1189b03b17358ff091b5ce326e87e Mon Sep 17 00:00:00 2001 From: rohitsakala Date: Mon, 20 Feb 2017 13:25:05 +0530 Subject: 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 --- testapi/opnfv_testapi/tests/unit/fake_pymongo.py | 1 + 1 file changed, 1 insertion(+) (limited to 'testapi/opnfv_testapi/tests/unit/fake_pymongo.py') 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') -- cgit 1.2.3-korg