diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2021-05-19 06:26:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-19 06:26:02 +0000 |
commit | 7b3c0c66fa1bb3581d83498ae1840aa1c8763521 (patch) | |
tree | 3c1d4ceb85fcb9161cee37bb5f36ce08284f5cb8 /src | |
parent | 060210803b263b681e696bc40bdbe9f254d729db (diff) | |
parent | be2d80869fce68b4828e7ec204542ef97af136db (diff) |
Merge "[CLAMP] Fix Policy exception in basic_clamp"
Diffstat (limited to 'src')
-rw-r--r-- | src/onaptests/steps/loop/instantiate_loop.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/onaptests/steps/loop/instantiate_loop.py b/src/onaptests/steps/loop/instantiate_loop.py index 01eada5..07586ac 100644 --- a/src/onaptests/steps/loop/instantiate_loop.py +++ b/src/onaptests/steps/loop/instantiate_loop.py @@ -6,7 +6,7 @@ import logging.config from onapsdk.clamp.loop_instance import LoopInstance from onapsdk.configuration import settings -from onaptests.utils.exceptions import OnapTestException +import onaptests.utils.exceptions as onap_test_exceptions class InstantiateLoop(): @@ -58,14 +58,14 @@ class InstantiateLoop(): else: self._logger.error("An error occured while submitting the loop instance") - raise OnapTestException.PolicyException + raise onap_test_exceptions.PolicyException self._logger.info("******** DEPLOY LOOP INSTANCE *******") deploy = loop.deploy_microservice_to_dcae() if deploy: self._logger.info("Loop instance %s successfully deployed on DCAE !!", self.loop_name) else: self._logger.error("An error occured while deploying the loop instance") - raise OnapTestException.DcaeException + raise onap_test_exceptions.DcaeException def instantiate_loop(self): """Instantiate the control loop.""" |