]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : Ensure properties validation is caught
authorSteven Hardy <shardy@redhat.com>
Tue, 5 Mar 2013 15:16:59 +0000 (15:16 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 6 Mar 2013 10:36:10 +0000 (10:36 +0000)
commitc541b05f31fa47638eb968432174f64af39b833e
tree7733ef03513be55a327d81850fe8c77b7f1c7905
parent269c397be26a8c759596c0743fad363e6185f59c
heat engine : Ensure properties validation is caught

Rework usage of properties.validate() so that we always
catch the error and set the resource state to failed when
a properties validation error occurs

fixes bug 1146529

Change-Id: I4c5b24cc29a19a5170852aa7626031f9612b3272
heat/engine/properties.py
heat/engine/resource.py
heat/tests/test_properties.py
heat/tests/test_validate.py