diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-09-25 15:41:11 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-10-19 22:19:10 +0530 |
commit | 8adaa30570d7ab9d04928b4416f15ca16f0bdcc4 (patch) | |
tree | 24218a9c098c03ab53df1b4b61fb6b4c7dfa6243 /opnfv_testapi/common | |
parent | eaca47141878a8530975449c45ad2deb18e5165b (diff) |
Added Login feild validations
Issue-ID: DOVETAIL-801
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Change-Id: Ifc9925d3ad8da973804919746902fd7754f98abd
Diffstat (limited to 'opnfv_testapi/common')
-rw-r--r-- | opnfv_testapi/common/message.py | 8 |
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' |