nfv/nfv/nfv-tests/nfv_unit_tests/tests
albailey eafee58e62 Not require recreate of tox env when running tox
The upgrade test was written to copy a file required for
the test, but did not handle the file already being processed.
This fix adjusts the setup for the unit test to handle this
and allows the recreate to be removed, thus reducing designer
tox testing time (40 seconds down to 4 when re-running a single test)

This also aligns the version of hacking and pylint as the same as
other starlingx repos. A new pylint was released which was
breaking tox.

The code changes are to fix whitespace (rather than suppressing):
 E305 expected 2 blank lines after class or function definition
 E117 over-indented

Three new hacking warnings are being suppressed:
  W503 line break before binary operator
  W504  line break after binary operator
  W605 invalid escape sequence

Un-suppress these codes which are not broken in the code:
 E123 closing bracket does not match indentation of opening bracket
 E501 line too long (tox sets max length instead to a large val)
 F823 local variable referenced before assignment

yamllint 1.26.1 does not work with py2 or py3 in our env, so clamp it.

Story: 2008137
Task: 42200
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia623315c5f1a690d20f597242b7722601776f26d
2021-04-06 09:48:36 -05:00
..
__init__.py Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
sw_update_testcase.py Add orchestrated fw update support to vim 2020-05-14 01:03:21 +00: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 Neutron Host Management Robustness 2019-04-15 10:37:59 -04:00
test_fw_update_strategy.py Add orchestrated fw update support to vim 2020-05-14 01:03:21 +00:00
test_instance.py VIM: allow cold migrate and evac with remote_storage label 2019-02-05 09:48:51 -05:00
test_instance_director.py Remove use of storage extra spec from VIM 2019-01-16 12:55:50 -06:00
test_kube_upgrade_strategy.py Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06:00
test_network_rebalance.py Neutron Router Rebalancing Unit Test Improvements 2019-03-26 09:47:53 -04:00
test_network_rebalance_randomized.py Neutron Host Management Robustness 2019-04-15 10:37:59 -04:00
test_nfv_client.py Add orchestrated fw update support to vim 2020-05-14 01:03:21 +00:00
test_plugin_kubernetes_client.py Wait for pods to terminate when host is locked 2019-10-08 09:37:00 -05:00
test_sw_patch_strategy.py Increase timeout to wait for alarms to clear. 2021-02-12 00:23:26 +02:00
test_sw_upgrade_strategy.py Add retry capability to host unlock during upgrade 2021-03-18 09:24:17 -05: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