nfv/nfv/nfv-tests/nfv_unit_tests/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
..
__init__.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
sw_update_testcase.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_database_upgrades.py Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
test_debug_config.py Unsuppress pylint E1111 assignment-from-no-return 2023-02-11 11:45:31 -05:00
test_dhcp_network_rebalance_randomized.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_exceptions.py Debian: python3 fix for OpenStackRestAPIExceptions 2023-02-14 15:21:13 +00:00
test_fw_update_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_instance.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_instance_director.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_kube_rootca_update_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_kube_upgrade_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_network_rebalance.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_network_rebalance_randomized.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_nfv_client.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_nfvi_infrastructure_api.py Adding unit tests to improve nfvi infra coverage 2023-03-01 14:10:25 +00:00
test_plugin_kubernetes_client.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_sw_patch_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
test_sw_upgrade_strategy.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
testcase.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
utils.py Neutron Network Rebalancing on DHCP Agents 2019-04-03 16:11:03 -04:00