heat/heat_integrationtests
Ethan Lynn 6cf8dc6e56 Fix problems in unicode template support
If we use unicode as resource name or parameter,
we are likely to encounter unicode problems.
This patch aims to fix unicode problems, and
there are several things to be clear:

1. For the class wrap with six.python_2_unicode_compatible, in
python2 their original __str__ function will map to __unicode__,
and new __str__ function comes from __unicode__.encode.
So we should always return unicode in __str__() if wrap
with python_2_unicode_compatible.

2. python_2_unicode_compatible will not handle __repr__,
__repr__ should return str in all versions of python.

Co-Authored-By: Ethan Lynn <xjunlin@cn.ibm.com>
Closes-Bug: #1524194
Change-Id: Ib4af43d153e0edf9d66308bf8e7b93a3be501d2e
2016-03-04 01:59:40 +00:00
..
common Merge "Fix test_encryption_vol_type to take admin creds from conf" 2016-03-02 10:17:30 +00:00
functional Fix problems in unicode template support 2016-03-04 01:59:40 +00:00
scenario Ignore connection error when testing load balancer 2016-02-18 13:15:37 +01:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
config-generator.conf Get tox to generate config for heat_integrationtests 2015-02-04 00:01:26 +05:30
heat_integrationtests.conf.sample Fix test_encryption_vol_type to take admin creds from conf 2016-02-19 12:50:13 +05:30
post_test_hook.sh Fix integration tests hooks 2015-07-17 11:01:31 +00:00
pre_test_hook.sh Unify workers options for API services 2016-01-18 13:16:48 +00:00
prepare_test_env.sh Fix test_encryption_vol_type to take admin creds from conf 2016-02-19 12:50:13 +05:30
prepare_test_network.sh Fix integration tests hooks 2015-07-17 11:01:31 +00:00
README.rst Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
requirements.txt Software config zaqar integration tests 2016-01-24 14:20:58 +01:00

Heat integration tests

These tests can be run against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.

To run the tests against DevStack, do the following:

# source DevStack credentials

source /opt/stack/devstack/openrc

# run the heat integration tests with those credentials

cd /opt/stack/heat

tox -eintegration

If custom configuration is required, copy the following file:

heat_integrationtests/heat_integrationtests.conf.sample

to:

heat_integrationtests/heat_integrationtests.conf

and make any required configuration changes before running:

tox -eintegration