heat/heat_integrationtests/functional
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
..
__init__.py Functional test UpdateStackTest 2014-10-20 16:31:09 +13:00
functional_base.py FunctionalTests don't run non-test check_skip_test 2016-01-18 17:23:20 +00:00
test_autoscaling.py Merge "Using LOG.warning replace LOG.warn" 2015-12-30 08:27:05 +00:00
test_aws_stack.py Merge "Use yaml.safe_load() instead of yaml.load()" 2016-02-18 12:21:25 +00:00
test_conditional_exposure.py Merge "Revert "Check RBAC policy for nested stacks"" 2016-02-24 08:47:52 +00:00
test_create_update_neutron_port.py Handle replace and rollback cases for Port 2015-09-16 14:05:45 +00:00
test_create_update_neutron_subnet.py Improve gateway_ip updation for subnet 2016-01-06 16:01:26 +08:00
test_create_update.py Remove redundant _stack_rand_name from func tests 2016-01-25 06:03:36 -05:00
test_default_parameters.py Use yaml.safe_dump instead of yaml.dump 2016-02-20 07:45:32 +05:30
test_encrypted_parameter.py Update encrypted param template 2015-08-20 18:23:56 +00:00
test_encryption_vol_type.py Fix test_encryption_vol_type to take admin creds from conf 2016-02-19 12:50:13 +05:30
test_env_merge.py Hook into environment merging on server 2016-02-12 10:48:54 -05:00
test_event_sinks.py Make ZaqarEventSinkTest more lenient 2016-02-24 13:08:06 +01:00
test_heat_autoscaling.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_hooks.py Use yaml.safe_dump instead of yaml.dump 2016-02-20 07:45:32 +05:30
test_immutable_parameters.py Return HTTPBadRequest error from API for immutable parameters 2016-03-01 21:00:16 -06:00
test_instance_group.py Fix [H405] pep rule in heat_integrationtests 2015-10-08 15:13:52 +03:00
test_notifications.py Revert failing tests and use v3 for ec2 tokens 2015-08-18 13:37:48 +02:00
test_nova_server_networks.py Don't pass both network_id and port_id when attach interface 2016-02-16 15:37:07 +08:00
test_preview_update.py Fix update preview to handle nested stacks 2016-02-03 12:34:33 +00:00
test_preview.py Accommodate v2 and v3 auth for integration tests 2016-02-04 17:30:00 +05:30
test_purge.py Fix database purge query 2015-12-15 11:58:01 +01:00
test_reload_on_sighup.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_remote_stack.py Remove redundant _stack_rand_name from func tests 2016-01-25 06:03:36 -05:00
test_resource_chain.py Replace assertTrue(isinstance()) with assertIsInstance() 2016-01-03 03:34:58 +08:00
test_resource_group.py Use yaml.safe_load() instead of yaml.load() 2016-02-16 21:37:27 +08:00
test_software_config.py Software config zaqar integration tests 2016-01-24 14:20:58 +01:00
test_stack_events.py Adding basic test to exercise the heat event APIs. 2015-09-18 16:21:00 +00:00
test_stack_outputs.py Add test for stack outputs 2016-01-27 12:34:49 +00:00
test_stack_tags.py Make the stack tags template non-empty 2015-09-14 11:12:20 +10:00
test_swiftsignal_update.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_template_resource.py Merge "Ignore errors on old properties during update" 2016-02-24 10:02:00 +00:00
test_template_validate.py Allow nested validation for template-validate 2015-09-22 08:27:28 +01:00
test_templates.py Add tests for heat template apis 2016-01-06 18:02:42 +00:00
test_unicode_template.py Fix problems in unicode template support 2016-03-04 01:59:40 +00:00
test_update_restricted.py Add functional tests for update restrict 2016-02-19 17:34:35 +05:30
test_validation.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_waitcondition.py Add test for zaqar-based wait conditions 2016-02-09 10:19:36 +01:00