heat/heat/tests/openstack/sahara
Victor Stinner aa0ce43325 Replace ex.message with exception_to_unicode(ex)
The message attribute of exceptions has been removed in Python 3. Use
exception_to_unicode(exc) of oslo_utils.encodeutils instead to get
the error message.

translate_exception(exc) of heat.common.wsgi tries to translate the
error message and store the translated message into exc.message.
Because of that, exc.message is kept for HeatException and
subclasses.

Co-Authored-By: Roman Podoliaka <rpodolyaka@mirantis.com>

Related-Bug: 1542961

Change-Id: If5a7514131f4a51c211237238bd11b79becec419
2016-02-08 18:39:51 +02:00
..
__init__.py Change namespace for Sahara resources and tests 2015-11-18 08:42:29 +08:00
test_cluster.py Use custom find functions for image lookup 2016-01-27 09:56:01 +05:30
test_data_source.py Change namespace for Sahara resources and tests 2015-11-18 08:42:29 +08:00
test_image.py Use custom find functions for image lookup 2016-01-27 09:56:01 +05:30
test_job_binary.py Change namespace for Sahara resources and tests 2015-11-18 08:42:29 +08:00
test_templates.py Replace ex.message with exception_to_unicode(ex) 2016-02-08 18:39:51 +02:00