From c8ebade7ce19b9f13ee0820b7f66c9fe06ea3363 Mon Sep 17 00:00:00 2001 From: boucherv Date: Fri, 10 Mar 2017 15:01:24 +0100 Subject: cloudify_ims: fix error on account creation Change-Id: I43550b2062c69d7b4eb144057a90806f92328739 Signed-off-by: boucherv --- functest/opnfv_tests/vnf/ims/cloudify_ims.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functest/opnfv_tests') 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 != "": -- cgit 1.2.3-korg