b4acd96ee35e8839c22ca6dc08034fca684a2a22
This ensures that all Tempest plugin configs are loaded. Accessing it via heat_tempest_plugin.config.CONF assumed that something else was loading the plugin configs before we tried to access it. This is probably only the case when running Tempest itself, but we want to be able to discover and run tests from the heat_integrationtests without going through Tempest. Change-Id: I5e9325766ce166e62c731330c462c030cb1e11fc
Heat Tempest Plugin
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_tempest_plugin.tests
If custom configuration is required, edit the [heat_plugin] section of
$DEST/tempest/etc/tempest.conf
Description
Languages
Python
100%