From 904648f5a5a306ab01229072aca672d34a0cfa25 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Tue, 5 Nov 2024 18:45:16 +0100 Subject: Update basic_sdnc test Align to new API output Issue-ID: TEST-404 Signed-off-by: Michal Jagiello Change-Id: Iaa0a47afb7d6339fd3b653e99f0e272fc56e43b0 --- src/onaptests/steps/instantiate/sdnc_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/onaptests/steps') 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) -- cgit 1.2.3-korg