diff options
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/common/message.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/common/message.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/common/message.py b/utils/test/testapi/opnfv_testapi/common/message.py index 98536ff4b..951cbaf9c 100644 --- a/utils/test/testapi/opnfv_testapi/common/message.py +++ b/utils/test/testapi/opnfv_testapi/common/message.py @@ -10,6 +10,10 @@ not_found_base = 'Could Not Found' exist_base = 'Already Exists' +def key_error(key): + return "KeyError: '{}'".format(key) + + def no_body(): return 'No Body' |