summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/common/message.py
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2017-11-14 15:38:56 +0530
committerthuva4 <tharma.thuva@gmail.com>2017-11-14 15:38:56 +0530
commit265e10a036b545d9d4e15bebef17e38e4b013af3 (patch)
tree253f52de1842ec2ca3dc5e33d381f6108c4c39ab /testapi/opnfv_testapi/common/message.py
parent3b3477d3f632208d99fe2ab71679ab84b618855a (diff)
Create functionality and e2e tests for project
Implemented the create function for the projects. Wrote the e2e tests for the create function. Change-Id: Iceac650573ca31b6246350c4d60033b42e0ffb0f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/common/message.py')
-rw-r--r--testapi/opnfv_testapi/common/message.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/common/message.py b/testapi/opnfv_testapi/common/message.py
index 3e14f72..b92b7f0 100644
--- a/testapi/opnfv_testapi/common/message.py
+++ b/testapi/opnfv_testapi/common/message.py
@@ -60,3 +60,7 @@ def no_update():
def must_int(name):
return '{} must be int'.format(name)
+
+
+def no_permission():
+ return 'You do not have permission to perform this action'