kolla-cli/kolla_cli/tests/functional
Steve Noyes bca9db24ba Enable py35 functional tests
This change sets up the functional tests to run on py35 in CI
testing. This change also:
- fixes some import problems only seen in py35.
- removes obsolete/broken code that was needed when ansible
didn't support py3.

Partially Implements: blueprint initial-testing

Change-Id: I3df34e266a8f64f4f963ded51adf8879a324be30
2018-05-18 13:14:49 -04:00
..
README.txt Enable py35 functional tests 2018-05-18 13:14:49 -04:00
__init__.py Align tests with how functional tests are handled 2018-05-16 16:13:54 -04:00
common.py Align tests with how functional tests are handled 2018-05-16 16:13:54 -04:00
functional_test_setup.sh Align tests with how functional tests are handled 2018-05-16 16:13:54 -04:00
test_client_upgrade.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_deploy.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_destroy.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_group.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_host.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_password.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_property.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_reconfigure.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_service.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_stop.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00
test_support.py Enable py35 functional tests 2018-05-18 13:14:49 -04:00

README.txt

- As of change id: Id11cc1abcac6ac5b94176a1f17a8f5f82b6f00d5
removed all tests which expected remote systems
to be available / configured.  These tests should be
revived at some point using Tempest or something similar to run
more complete functional tests.

- To run a single functional test, you will need to setup these
environmental variables and the needed file structure:

export KOLLA_ETC=/tmp/kollaclitest/etc/kolla/
export KOLLA_HOME=/tmp/kollaclitest/usr/share/kolla-ansible/
export KOLLA_TOOLS_DIR=./tools/

./kolla_cli/tests/functional/functional_test_setup.sh

Then you can run a single test, for eg:

source .tox/functional/bin/activate
ostestr -n kolla_cli.tests.functional.test_deploy.TestFunctional.test_deploy