diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2024-11-05 18:45:16 +0100 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2024-11-05 18:45:16 +0100 |
commit | 904648f5a5a306ab01229072aca672d34a0cfa25 (patch) | |
tree | 9b7f9d161d19bba2ffd322bc621990407e754b63 /src/onaptests/steps | |
parent | 536827024de35adcf8169b1f470b324d61e62c69 (diff) |
Update basic_sdnc test
Align to new API output
Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Iaa0a47afb7d6339fd3b653e99f0e272fc56e43b0
Diffstat (limited to 'src/onaptests/steps')
-rw-r--r-- | src/onaptests/steps/instantiate/sdnc_service.py | 6 |
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) |