config/sysinv/sysinv/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
..
agent Report port and device inventory after the worker manifest 2024-03-26 10:37:56 -04:00
api Prevent multiple datanetworks to same interface 2024-04-02 17:25:41 -03:00
cert_alarm Change cert-alarm service audit behavior 2024-03-05 12:52:18 -05:00
cert_mon Merge "Disable cert-mon audit for subclouds being rehomed" 2023-11-09 21:37:53 +00:00
cmd Implement IPsec Cert-Renewal Operation 2024-03-08 12:24:02 -03:00
common Create unit tests for the metadata validation logic 2024-04-12 11:47:30 -03:00
conductor Fix charts upload when there are existing ones 2024-04-02 12:05:28 -03:00
db Fix runtime_config_get method to avoid type error 2024-03-21 17:12:17 -03:00
helm Merge "Fix delete process to apps that have charts disabled" 2024-03-07 13:43:22 +00:00
ipsec_auth Update swanctl.conf cacerts w/ system-local-ca files 2024-03-28 13:40:10 +00:00
loads Update extract playbooks target directory 2023-05-02 13:50:36 +00:00
objects New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
openstack Restore openstack/common/context file 2023-05-24 12:43:16 +00:00
puppet Add retry robustness for Kubernetes upgrade control plane 2024-03-19 08:49:36 -04:00
tests Create unit tests for the metadata validation logic 2024-04-12 11:47:30 -03:00
zmq_rpc New RESTful API and DB schema for network to address-pools. 2024-03-06 07:34:14 -03:00
__init__.py Fix tox certificate issues in python2 2021-11-18 15:14:51 -06:00
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Fix tox-docs failing sphinx 2022-05-31 13:56:30 +00:00
version.py Remove python2 jobs from zuul for this repo 2023-02-07 19:36:45 +00:00