nfv/nfv/nfv-tests/nfv_scenario_tests
Al Bailey 2564b52972 Fix relative imports in nfv
H304 relative imports were inline suppressed in the unit tests.
This modification to the unit test setup allows those relative
imports to be fixed and the suppressions removed.

pylint suppressions related to imports are also removed.

This change has no runtime impact.
The main change required was in the setup.py files for the tests.

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

Story: 2010531
Task: 47204

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I8d7f400f162aa9af59bcdde5377647e9c91cf58c
2023-01-24 22:16:39 +00:00
..
data small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
tests py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
config.ini Update default floating management address 2020-06-01 17:39:53 -05:00
coverage.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
debug.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
main.py Fix relative imports in nfv 2023-01-24 22:16:39 +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

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

#
# cd /usr/lib64/python2.7/site-packages/nfv_scenario_tests
#
# To run without coverage:
#   clear; python ./main.py -c ./config.ini -d default-data -s submission-setup -t submission-tests
#   clear; python ./main.py -c ./config.ini -d default-data-guest -s submission-setup-guest -t submission-tests
#
# To run with coverage:
#   mkdir -p /var/run/sm/services/
#   touch /var/run/sm/services/vim.unmanaged
#   kill nfv-vim processes
#
#   coverage erase --rcfile ./coverage.ini
#   coverage run --rcfile ./coverage.ini /usr/bin/nfv-vim -c /etc/nfv/vim/config.ini &
#   python ./main.py -c ./config.ini
#   kill nfv-vim processes
#   coverage report --rcfile ./coverage.ini
#