nfv/nfv/nfv-tests/nfv_scenario_tests
Al Bailey b4579b875b Cleanup pylint unnecessary-pass warnings
This commit cleans up pylint error:
  W0107 unnecessary-pass

Python rules dictate that a pass statement is only needed
if it is the only code in a particular block.

These changes have no runtime impact on the code.

Story: 2004515
Task: 28249
Change-Id: Ib805496c1123708cb67af82458f0b354a7b8e279
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-12-03 15:30:43 -06:00
..
data Fix yamllint and bashate tox warnings 2018-07-09 12:06:57 -05:00
tests Replace iter methods with python3 compatable calls 2018-11-27 14:35:20 -06: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
config.ini Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
coverage.ini StarlingX open source release updates 2018-05-31 07:36:51 -07:00
debug.ini StarlingX open source release updates 2018-05-31 07:36:51 -07:00
main.py Cleanup pylint unnecessary-pass warnings 2018-12-03 15:30:43 -06: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
#

#
# 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
#