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>