diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-31 14:10:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-31 14:10:44 +0000 |
commit | 0cc2edbbd3e67353dbf7bf8d1774506aef0cd69f (patch) | |
tree | 911ee25ccf848ffae75836c810d93830322a5b3c /functest/opnfv_tests/vnf | |
parent | 3a625a5f4b176147e288dbee01734a666a25e34f (diff) | |
parent | f2eaa39ca28093baa7f004e7febcc648106e5cd7 (diff) |
Merge "[Clearwater Test] Fix bug in error message"
Diffstat (limited to 'functest/opnfv_tests/vnf')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/clearwater_ims_base.py | 3 |
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 f21ce3f9..2fc5449c 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) |