aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/onaptests/steps/instantiate/sdnc_service.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/onaptests/steps/instantiate/sdnc_service.py b/src/onaptests/steps/instantiate/sdnc_service.py
index 475653d..747251f 100644
--- a/src/onaptests/steps/instantiate/sdnc_service.py
+++ b/src/onaptests/steps/instantiate/sdnc_service.py
@@ -268,10 +268,10 @@ class CheckSdncHealthStep(BaseSdncStep, SdncElement):
"SDNC SLI API Healthcheck",
f"{self.base_url}/rests/operations/SLI-API:healthcheck")
message = ""
- if result and result["output"]:
- if result["output"]["response-code"] == "200":
+ if result and result["SLI-API:output"]:
+ if result["SLI-API:output"]["response-code"] == "200":
return
- message = result["output"]["response-message"]
+ message = result["SLI-API:output"]["response-message"]
raise OnapTestException("SDNC is not healthy. %s" % message)