diff options
author | boucherv <valentin.boucher@orange.com> | 2017-03-31 10:33:05 +0200 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2017-03-31 10:33:05 +0200 |
commit | f2eaa39ca28093baa7f004e7febcc648106e5cd7 (patch) | |
tree | da23d9a6dd060bda5d9b19ea3c20c12c33186266 /functest/opnfv_tests | |
parent | 2da5f7d8b8a8813f1fd558364b29e143c263a85c (diff) |
[Clearwater Test] Fix bug in error message
Change-Id: I5d1a3f44915821fcf778c4bcecb32d2aaf475262
Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'functest/opnfv_tests')
-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) |