Files
Pedro c57d7ecb5c Improve unit tests coverage for openstack.py
This change contains complementary unit test cases for OpenstackBaseHelm
Class methods, in order to provide more reliability. It achieved 99%
coverage and follows existing patterns with proper mocking and minimal
implementation to ensure maintainability.

Tests cases were implemented to sustain the following methods suite:

_get_service_parameter_configs
_get_keyring_password
_get_or_generate_password
_get_or_generate_ssh_keys
_get_cluster_host_iface
_get_cluster_host_ip
_get_rook_ceph_admin_keyring
_get_chart_operator
_update_image_tag_overrides
_is_rook_ceph
_get_interface_datanets
_oslo_multistring_override

TEST PLAN:
PASS - passing unit tests of k8sapp_openstack.helm module
PASS - passing pipeline checks of new file test_openstack.py
PASS - expected coverage above 91% in helm/openstack.py

Story: 2011473
Task: 53901

Change-Id: Iacf88d609abfa7f2de0c7500cf9e18ea2b5f8543
Signed-off-by: Pedro <pedro.portoramalho@windriver.com>
2026-03-02 23:07:55 -03:00
..
2025-05-08 15:06:17 +00:00
2023-12-20 09:11:03 -07:00

k8sapp-openstack

This project contains StarlingX Kubernetes application specific python plugins for the openstack application. These plugins are required to integrate the openstack application into the StarlingX application framework and to support the various StarlingX deployments.