aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-03-31 14:10:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-31 14:10:44 +0000
commit0cc2edbbd3e67353dbf7bf8d1774506aef0cd69f (patch)
tree911ee25ccf848ffae75836c810d93830322a5b3c
parent3a625a5f4b176147e288dbee01734a666a25e34f (diff)
parentf2eaa39ca28093baa7f004e7febcc648106e5cd7 (diff)
Merge "[Clearwater Test] Fix bug in error message"
-rw-r--r--functest/opnfv_tests/vnf/ims/clearwater_ims_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
index f21ce3f9a..2fc5449cf 100644
--- a/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
+++ b/functest/opnfv_tests/vnf/ims/clearwater_ims_base.py
@@ -46,8 +46,7 @@ class ClearwaterOnBoardingBase(vnf_base.VnfOnBoardingBase):
rq = requests.post(account_url, data=params)
output_dict['login'] = params
if rq.status_code != 201 and rq.status_code != 409:
- raise Exception("Unable to create an account for number"
- " provision: %s" % rq.json()['reason'])
+ raise Exception("Unable to create an account for number provision")
self.logger.info('Account is created on Ellis: %s', params)
session_url = 'http://{0}/session'.format(ellis_ip)