aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/common/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'opnfv_testapi/common/message.py')
-rw-r--r--opnfv_testapi/common/message.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/opnfv_testapi/common/message.py b/opnfv_testapi/common/message.py
index e9b3b1c..0f50cd1 100644
--- a/opnfv_testapi/common/message.py
+++ b/opnfv_testapi/common/message.py
@@ -56,3 +56,11 @@ def must_int(name):
def no_auth():
return 'No permission to operate. Please ask Administrator for details.'
+
+
+def req_username():
+ return 'UserName is Required'
+
+
+def req_password():
+ return 'Password is Required'