91018c890d
Nesting get_attr functions (i.e. using a get_attr in the arguments to another get_attr) is unwise, and we probably should have prohibited it somehow. Nonetheless, we didn't and some users (including but not necessarily limited to TripleO) depend on this working. Since this would be easy to break by accident, add a functional test to make sure we can only break it on purpose. Change-Id: I234a0762a00815af86b5711e7494366c16e717c2 |
||
---|---|---|
.. | ||
api | ||
common | ||
functional | ||
locale/ja/LC_MESSAGES | ||
scenario | ||
__init__.py | ||
.gitignore | ||
cleanup_test_env.sh | ||
install-requirements | ||
plugin.py | ||
post_test_hook.sh | ||
pre_test_hook.sh | ||
prepare_test_env.sh | ||
prepare_test_network.sh | ||
README.rst |
Heat integration tests
These tests can be run as a tempest plugin against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.
To run the tests against DevStack, do the following:
# Define DEST
export DEST=/opt/stack
# create test resources and write tempest config
$DEST/heat/heat_integrationtests/prepare_test_env.sh $DEST/heat/heat_integrationtests/prepare_test_network.sh
# run tempest selecting only these tests
cd $DEST/tempest tempest run --regex heat_integrationtests
If custom configuration is required, edit the [heat_plugin] section of
$DEST/tempest/etc/tempest.conf