nfv/nfv/nfv-tests/nfv_unit_tests/tests
Al Bailey 0df5aaaf5d Replace mock with unittest.mock
mock module has been deprecated in favor of unittest.mock
which is part of the standard python library.

This review removes mock as a third party dependency, and
updates all unittest imports to use unittest.mock instead.

nova-api-proxy had mock as a test requirement, however it
was not using it.

This change has no impact on runtime code.

Test Plan:
  PASS: tox passing for nfv
  PASS: build-pkgs -p nfv
  PASS: tox passing for nova-api-proxy
  PASS: build-pkgs -p nova-api-proxy

Story: 2010531
Task: 47142

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I991d07e87fbdc7fecc4e790550df2472b9b5b24b
2023-01-24 22:13:59 +00:00
..
__init__.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
sw_update_testcase.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
test_database_upgrades.py Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
test_dhcp_network_rebalance_randomized.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_fw_update_strategy.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_instance.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
test_instance_director.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_kube_rootca_update_strategy.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_kube_upgrade_strategy.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_network_rebalance.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_network_rebalance_randomized.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_nfv_client.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_plugin_kubernetes_client.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_sw_patch_strategy.py Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
test_sw_upgrade_strategy.py Replace mock with unittest.mock 2023-01-24 22:13:59 +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