Improve StackValidationFailed response in properties
In some cases, there is no information about resource and
section, where Property error raised. This patch improves
StackValidationFailed msg, so this msg look like "Property
error : resource_name.section_name.key_name: error_msg", where
section_name is section, where Property error raised, e.g.
'update_policy'.
Change-Id: Iab2a6acdec254b39983de420ab03f994cff48d89
Closes-bug: #1358512
diff --git a/functional/test_resource_group.py b/functional/test_resource_group.py
index 7da20a1..f6157fc 100644
--- a/functional/test_resource_group.py
+++ b/functional/test_resource_group.py
@@ -98,7 +98,7 @@
# Prove validation works for non-zero create/update
template_two_nested = self.template.replace("count: 0", "count: 2")
- expected_err = "length Value 'BAD' is not an integer"
+ expected_err = "Value 'BAD' is not an integer"
ex = self.assertRaises(exc.HTTPBadRequest, self.update_stack,
stack_identifier, template_two_nested,
environment=env, files=files)