neutron-vpnaas/tools
James Arendt 946d232e05 neutron-vpnaas fix for 'tox -e api' test
A VPNaaS test case for 'tox -e api' was failing as
the test_vpnaas.py code catching a tempest_lib.NotFound
but the tempest code is throwing a tempest.lib.NotFound
causing a Mismatch.

==============================
Failed 1 tests - output below:
==============================

neutron_vpnaas.tests.api.test_vpnaas.VPNaaSTestJSON.
test_create_update_delete_ipsec_policy[smoke]

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "neutron_vpnaas/tests/api/test_vpnaas.py", line 312,
in test_create_update_delete_ipsec_policy

Fix was to change to tempest.lib, as recommended in:
/usr/local/lib/python2.7/dist-packages/tempest_lib/__init__.py:28:
DeprecationWarning: tempest-lib is deprecated for future bug-fixes
and code changes in favor of tempest. Please change your imports
from tempest_lib to tempest.lib
  DeprecationWarning)

Fix base.py for same issue, plus clean up some obvious code
issues like a 'self' for a class method and indentation while
in there.

And since bash not my default shell, fix tox_install.sh to
use bash as otherwise get error.
opt/stack/neutron-vpnaas/tools/tox_install.sh: 19:
/opt/stack/neutron-vpnaas/tools/tox_install.sh: Bad substitution

Change-Id: I2ced6fd5cf9cc8a6972e6c937e1da4a0fc0236f4
2016-03-11 03:47:09 -08:00
..
check_i18n_test_case.txt Add script for checking i18n message 2012-12-10 17:29:54 +08:00
check_i18n.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
check_unit_test_structure.sh VPNaaS: Reorganize test tree 2015-04-07 15:57:19 +00:00
clean.sh VPNaaS: Remove check for bash usage 2015-04-07 16:18:04 +00:00
configure_for_vpn_func_testing.sh Fix configure script for functional tests 2016-02-18 10:42:24 -05:00
deploy_rootwrap.sh VPNaaS: Don't clone neutron automatically for tests 2015-07-06 09:51:47 -04:00
generate_config_file_samples.sh Automatically generate neutron VPNaaS configuration files 2015-12-11 11:03:33 +00:00
i18n_cfg.py Fix message i18n error 2013-09-08 15:58:12 +08:00
install_venv_common.py Split vpnaas services code into neutron-vpnaas 2014-12-08 13:37:08 -07:00
install_venv.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
ostestr_compat_shim.sh Switch from testr to ostestr 2016-02-17 12:43:33 +00:00
pretty_tox.sh Migrate to oslo.concurrency 2015-01-14 17:58:09 +01:00
subunit-trace.py Fix minor comment typos in VPNaaS 2015-09-25 16:17:46 -07:00
tox_install.sh neutron-vpnaas fix for 'tox -e api' test 2016-03-11 03:47:09 -08:00
with_venv.sh VPNaaS: Remove check for bash usage 2015-04-07 16:18:04 +00:00