diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-02-27 09:44:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-27 09:44:45 +0000 |
commit | 3178bbeebb22f94eb66f31152ed314dacbf5a1de (patch) | |
tree | 3a51ebe8d5138fef87b0cf47396af23094801ca4 /testapi/opnfv_testapi/common | |
parent | 04abc1dc89e2b471a170fe6160fa6f8535d59bd8 (diff) | |
parent | c3e868997d30bb907aca48abdb99b2ada2f70c1c (diff) |
Merge "remove deprecated upload-related codes"
Diffstat (limited to 'testapi/opnfv_testapi/common')
-rw-r--r-- | testapi/opnfv_testapi/common/constants.py | 1 | ||||
-rw-r--r-- | testapi/opnfv_testapi/common/message.py | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/testapi/opnfv_testapi/common/constants.py b/testapi/opnfv_testapi/common/constants.py index 70c9223..c7f82d9 100644 --- a/testapi/opnfv_testapi/common/constants.py +++ b/testapi/opnfv_testapi/common/constants.py @@ -1,4 +1,3 @@ TESTAPI_ID = 'testapi_id' CSRF_TOKEN = 'csrf_token' -ROLE = 'role' TESTAPI_USERS = ['opnfv-testapi-users'] diff --git a/testapi/opnfv_testapi/common/message.py b/testapi/opnfv_testapi/common/message.py index 7c62894..52cc2ad 100644 --- a/testapi/opnfv_testapi/common/message.py +++ b/testapi/opnfv_testapi/common/message.py @@ -10,10 +10,6 @@ not_found_base = 'Could Not Found' exist_base = 'Already Exists' -def key_error(key): - return "KeyError: '{}'".format(key) - - def no_body(): return 'No Body' |