aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2017-03-10 15:01:24 +0100
committerboucherv <valentin.boucher@orange.com>2017-03-10 15:01:24 +0100
commitc8ebade7ce19b9f13ee0820b7f66c9fe06ea3363 (patch)
tree2c77a120818e170e9a3274d822d01c83728762b3 /functest/opnfv_tests/vnf/ims
parent38ca164cfded2e26057785be436713b1c9450eb9 (diff)
cloudify_ims: fix error on account creation
Change-Id: I43550b2062c69d7b4eb144057a90806f92328739 Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'functest/opnfv_tests/vnf/ims')
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index e2401d0f..2ced92e9 100644
--- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py
+++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
@@ -280,6 +280,9 @@ class ImsVnf(vnf_base.VnfOnBoardingBase):
url = ellis_url + "session"
rq = requests.post(url, data=params)
cookies = rq.cookies
+ else:
+ self.step_failure("Unable to create an account for number" +
+ " provision: %s" % rq.json()['reason'])
url = ellis_url + "accounts/" + params['email'] + "/numbers"
if cookies != "":