diff options
author | michal.jagiello@t-mobile.pl <michal.jagiello@t-mobile.pl> | 2024-04-04 10:47:55 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2024-04-04 13:43:01 +0200 |
commit | d0249740266842e4cc4febb3c47243c0b95f8f39 (patch) | |
tree | 1bad851acb7db44bf776d3ac8d1cd9974e57a6e8 /src/onaptests/steps/instantiate | |
parent | 7e8c2a76266d0c5976183302d0cca21a1ab2df32 (diff) |
Refactor code a bit to make status test able running on multiple namespaces
It's possible to run status on all tests and also exclude some namespaces from check
Issue-ID: TEST-404
Change-Id: I33c54624f60b1c4db82a252d97a26e18464ed07f
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'src/onaptests/steps/instantiate')
-rw-r--r-- | src/onaptests/steps/instantiate/sdnc_service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onaptests/steps/instantiate/sdnc_service.py b/src/onaptests/steps/instantiate/sdnc_service.py index 7896d98..6aea501 100644 --- a/src/onaptests/steps/instantiate/sdnc_service.py +++ b/src/onaptests/steps/instantiate/sdnc_service.py @@ -69,7 +69,7 @@ class CheckSdncDbStep(BaseSdncStep): api_instance = client.CoreV1Api() try: secret = api_instance.read_namespaced_secret( - settings.SDNC_SECRET_NAME, settings.K8S_ONAP_NAMESPACE) + settings.SDNC_SECRET_NAME, settings.K8S_TESTS_NAMESPACE) if secret.data: if (self.SDNC_DB_LOGIN in secret.data and self.SDNC_DB_PASSWORD in secret.data): login_base64 = secret.data[self.SDNC_DB_LOGIN] |