diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-03-26 12:56:41 +0100 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-03-26 15:08:58 +0100 |
commit | 7801bc09e09b7816c7690f14bc18afd013c5e70a (patch) | |
tree | 43e4b556e68747734e545a33d0949cd65e456cce /tests/test_settings.py | |
parent | 4a99e7286857a83a9e2c557263363228f410bac8 (diff) |
Fix SDC v2 distribution status - desird status
If DOWNLOAD_OK check not for all components
Issue-ID: TEST-404
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I4111ceb8b3aeb69023d8c80a80b6ef57c95b9575
Diffstat (limited to 'tests/test_settings.py')
-rw-r--r-- | tests/test_settings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_settings.py b/tests/test_settings.py index 154eed0..96ec460 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -24,7 +24,7 @@ from onapsdk.exceptions import ModuleError def test_global_settings(): """Test global settings.""" - assert len(settings._settings) == 49 + assert len(settings._settings) == 50 assert settings.AAI_URL == "https://aai.api.sparky.simpledemo.onap.org:30233" assert settings.CDS_URL == "http://portal.api.simpledemo.onap.org:30449" assert settings.SDNC_URL == "https://sdnc.api.simpledemo.onap.org:30267" @@ -66,6 +66,7 @@ def test_global_settings(): assert hasattr(settings, "SO_AUTH") assert hasattr(settings, "SO_CAT_DB_AUTH") assert hasattr(settings, "SDC_SERVICE_DISTRIBUTION_COMPONENTS") + assert hasattr(settings, "SDC_SERVICE_DISTRIBUTION_DESIRED_STATE") def test_settings_load_custom(): """Test if custom settings is loaded correctly.""" |