f2881d4071
As functions can be inside other functions, there is no point in checking for specific functions that can be template specific. Better to resolve all before translating. This also adds a functional test to avoid breaking this in the future. Change-Id: I5f72f7455384b3fd5650bd01e77e64bf485dd178 Partial-Bug: #1620859
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