config/sysinv/sysinv
David Bastos fa5855845c Create unit tests for the metadata validation logic
These changes organize and add more unit tests to
the Validate_metadata_file function.

Improvements implemented:
  - A separate test file was created to be exclusive
    to the app_metadata.py file.
  - Data input was organized in external files.
  - Unit tests added individually to each key in the
    yaml file.

Test plan:
PASS: Run tox py39, pylint  and verify that they are
      all passing.
PASS: The output of the 'tox -e cover' was improved
      from 13% to 58%. Within the same file there are
      other functions to be tested that are not the
      scope of this demand.

Story: 2010929
Task: 49834

Change-Id: If4bdb734990582f302b1e0d20179e02c524de546
Signed-off-by: David Bastos <david.barbosabastos@windriver.com>
2024-04-12 11:47:30 -03:00
..
centos Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
debian Add IPsec certificates renewal cron job 2024-03-13 10:46:24 -04:00
opensuse Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
sysinv Create unit tests for the metadata validation logic 2024-04-12 11:47:30 -03:00
.gitignore StarlingX open source release updates 2018-05-31 07:35:52 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:35:52 -07:00