nfv/nfv/nfv-tests/nfv_unit_tests
Al Bailey a867908fc5 Adding unit tests to improve nfvi infra coverage
The nfvi_infrastructure_api plugin has almost no unit test
line coverage.

This review adds some basic creation tests and validates
some some static methods and properties.

This improves overall code coverage from 22% to 23%
This improves code coverage for that module from 0% to 6%

This change has no impact on runtime.

Test Plan:
  PASS: tox -e coverage

Story: 2010531
Task: 47551
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I24a532739e3bd62e88aab96cf6aaa3f607b5d198
2023-03-01 14:10:25 +00:00
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Adding unit tests to improve nfvi infra coverage 2023-03-01 14:10:25 +00:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00

README

#
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#

# Tox (http://tox.testrun.org/) is a tool for running tests in multiple
# virtual environments.  To use it, "pip install tox" and then run "tox"
# from this directory (where the nfv_unit_tests are located).
#