diff options
author | thuva4 <tharma.thuva@gmail.com> | 2017-12-23 09:26:12 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2017-12-23 16:07:53 +0530 |
commit | 5df2ce54e5aaadfb5ade5a94d6b42392bf805cc8 (patch) | |
tree | b6ab04967f3e4ab77c5f071780bde999d1d88034 /testapi/opnfv_testapi/common | |
parent | 4e98903ccae3363090de8fefb463b64a943b8f9f (diff) |
Implement the CRUD operations for Test cases
Created the testcases, testcase pages
Remove update, delete buttons in project page.
add protractor tests for testcases page.
change tabs to spaces
Change-Id: Id7d381b13dca4f228bda24fa1abad7c465b5cef7
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/common')
-rw-r--r-- | testapi/opnfv_testapi/common/check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/common/check.py b/testapi/opnfv_testapi/common/check.py index db28e44..08b620d 100644 --- a/testapi/opnfv_testapi/common/check.py +++ b/testapi/opnfv_testapi/common/check.py @@ -21,7 +21,7 @@ from opnfv_testapi.db import api as dbapi def is_authorized(method): @functools.wraps(method) def wrapper(self, *args, **kwargs): - if CONF.api_authenticate and self.table in ['pods', 'projects']: + if CONF.api_authenticate and self.table in ['pods', 'projects', 'testcases']: testapi_id = self.get_secure_cookie(constants.TESTAPI_ID) if not testapi_id: raises.Unauthorized(message.not_login()) |