summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims/cloudify_ims.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/cloudify_ims.py')
-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 e2401d0f1..2ced92e9d 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 != "":