From 8adaa30570d7ab9d04928b4416f15ca16f0bdcc4 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Fri, 25 Sep 2020 15:41:11 +0530 Subject: Added Login feild validations Issue-ID: DOVETAIL-801 Signed-off-by: Kanagaraj Manickam Change-Id: Ifc9925d3ad8da973804919746902fd7754f98abd --- opnfv_testapi/common/message.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'opnfv_testapi/common/message.py') 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' -- cgit 1.2.3-korg