diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-10 14:27:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-10 14:27:02 +0000 |
commit | d1c4c53c88e50cf566ea9677a6e250ab806c8a1c (patch) | |
tree | 736f1ac1b5211c5c328a87d7a6b0799944f273e3 /functest/opnfv_tests | |
parent | 6587f877a3c6e2954d9e32a0652c6f0d1d356ab7 (diff) | |
parent | c8ebade7ce19b9f13ee0820b7f66c9fe06ea3363 (diff) |
Merge "cloudify_ims: fix error on account creation"
Diffstat (limited to 'functest/opnfv_tests')
-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 != "": |