Fix [H405] pep rule in heat_integrationtests
Implements bp docstring-improvements
Change-Id: I7aebbdafef121c3414e6a0260452c1353af62e88
diff --git a/functional/test_template_resource.py b/functional/test_template_resource.py
index 9609664..dabc924 100644
--- a/functional/test_template_resource.py
+++ b/functional/test_template_resource.py
@@ -195,9 +195,12 @@
self.assertIn('arn:openstack:heat:', test_ref)
def test_transparent_ref(self):
- """With the addition of OS::stack_id we can now use the nested resource
+ """Test using nested resource more transparently.
+
+ With the addition of OS::stack_id we can now use the nested resource
more transparently.
"""
+
nested_templ = '''
heat_template_version: 2014-10-16
resources:
@@ -520,6 +523,7 @@
class TemplateResourceUpdateFailedTest(functional_base.FunctionalTestsBase):
"""Prove that we can do updates on a nested stack to fix a stack."""
+
main_template = '''
HeatTemplateFormatVersion: '2012-12-12'
Resources:
@@ -688,6 +692,7 @@
class TemplateResourceErrorMessageTest(functional_base.FunctionalTestsBase):
"""Prove that nested stack errors don't suck."""
+
template = '''
HeatTemplateFormatVersion: '2012-12-12'
Resources:
@@ -743,7 +748,7 @@
super(TemplateResourceSuspendResumeTest, self).setUp()
def test_suspend_resume(self):
- """Basic test for template resource suspend resume"""
+ """Basic test for template resource suspend resume."""
stack_identifier = self.stack_create(
template=self.main_template,
files={'the.yaml': self.nested_templ}
@@ -755,6 +760,7 @@
class ValidateFacadeTest(test.HeatIntegrationTest):
"""Prove that nested stack errors don't suck."""
+
template = '''
heat_template_version: 2015-10-15
resources: