config/sysinv
David Bastos f6d9f40b9a Create unit tests for the auto update logic
Was create unit tests to cover the new auto_update logic.
The new logic includes a new method called
"_get_app_bundle_for_update" which takes into account different
aspects of application metadata to figure out whether an app
should be auto-updated.

In addition to checking application version numbers, the unit
tests cover different scenarios and code paths such as different
minimum and maximum Kubernetes versions, whether auto_update is
enabled and the update timing during k8s upgrades.

Unit tests were also created for some more functions involved
in the logic.

Test plan:
PASS: Run tox py39, pylint and verify that they are
      all passing.

Story: 2010929
Task: 49892

Signed-off-by: David Bastos <david.barbosabastos@windriver.com>
Change-Id: I44d798fe1d0e9883103745c32763894a35e445a2
2024-04-22 10:37:38 -03:00
..
cert-alarm Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00
cert-mon Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00
cgts-client Merge "Revert "Modify Memory Field Names"" 2024-03-13 14:50:37 +00:00
ipsec-auth Add log messages to IPSec Auth Server and Client 2024-02-02 14:58:03 -03:00
sysinv Create unit tests for the auto update logic 2024-04-22 10:37:38 -03:00
sysinv-agent Update debian package versions to use git commits 2023-02-10 20:11:06 +00:00