diff options
author | boucherv <valentin.boucher@orange.com> | 2017-03-10 15:01:24 +0100 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2017-03-10 15:01:24 +0100 |
commit | c8ebade7ce19b9f13ee0820b7f66c9fe06ea3363 (patch) | |
tree | 2c77a120818e170e9a3274d822d01c83728762b3 | |
parent | 38ca164cfded2e26057785be436713b1c9450eb9 (diff) |
cloudify_ims: fix error on account creation
Change-Id: I43550b2062c69d7b4eb144057a90806f92328739
Signed-off-by: boucherv <valentin.boucher@orange.com>
-rw-r--r-- | functest/opnfv_tests/vnf/ims/cloudify_ims.py | 3 |
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 != "": |