From 914c2788ae0f240c1a7a4e060213c531a602d6c7 Mon Sep 17 00:00:00 2001 From: rohitsakala Date: Thu, 16 Feb 2017 13:22:05 +0530 Subject: Add token based authentication for post/update/delete As the mongodb database is not so secure today, this has been added. The token is stored in the mongoDB database. For now, authenticate variable is set false so that there would be no problem in accessing the databse by jenkins jobs. JIRA: FUNCTEST-730 Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109 Signed-off-by: rohitsakala --- utils/test/testapi/opnfv_testapi/tests/unit/test_base.py | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/test/testapi/opnfv_testapi/tests/unit/test_base.py') diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/test_base.py b/utils/test/testapi/opnfv_testapi/tests/unit/test_base.py index 84d611bf0..b2be8d593 100644 --- a/utils/test/testapi/opnfv_testapi/tests/unit/test_base.py +++ b/utils/test/testapi/opnfv_testapi/tests/unit/test_base.py @@ -35,6 +35,7 @@ class TestBase(testing.AsyncHTTPTestCase): url_mappings.mappings, db=fake_pymongo, debug=True, + auth=False ) def create_d(self, *args): -- cgit 1.2.3-korg