nfv/nfv/nfv-tests/nfv_unit_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
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Clean up imports based on flake8 2018-09-20 16:43:28 -05: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).
#