Fix [H405] pep rule in heat_integrationtests
Implements bp docstring-improvements
Change-Id: I7aebbdafef121c3414e6a0260452c1353af62e88
diff --git a/scenario/scenario_base.py b/scenario/scenario_base.py
index 84e14a9..14b8cec 100644
--- a/scenario/scenario_base.py
+++ b/scenario/scenario_base.py
@@ -14,7 +14,7 @@
class ScenarioTestsBase(test.HeatIntegrationTest):
- "This class define common parameters for scenario tests"
+ """This class defines common parameters for scenario tests."""
def setUp(self):
super(ScenarioTestsBase, self).setUp()
diff --git a/scenario/test_autoscaling_lb.py b/scenario/test_autoscaling_lb.py
index 21b27dd..1d4d41d 100644
--- a/scenario/test_autoscaling_lb.py
+++ b/scenario/test_autoscaling_lb.py
@@ -20,8 +20,7 @@
class AutoscalingLoadBalancerTest(scenario_base.ScenarioTestsBase):
- """
- The class is responsible for testing ASG + LB scenario.
+ """The class is responsible for testing ASG + LB scenario.
The very common use case tested is an autoscaling group
of some web application servers behind a loadbalancer.
@@ -52,8 +51,7 @@
return all_res and all_res_complete
def test_autoscaling_loadbalancer_neutron(self):
- """
- Check work of AutoScaing and Neutron LBaaS resource in Heat.
+ """Check work of AutoScaing and Neutron LBaaS resource in Heat.
The scenario is the following:
1. Launch a stack with a load balancer and autoscaling group
diff --git a/scenario/test_server_cfn_init.py b/scenario/test_server_cfn_init.py
index 267b44b..d3ee7ee 100644
--- a/scenario/test_server_cfn_init.py
+++ b/scenario/test_server_cfn_init.py
@@ -17,9 +17,7 @@
class CfnInitIntegrationTest(scenario_base.ScenarioTestsBase):
- """
- The class is responsible for testing cfn-init and cfn-signal workability
- """
+ """Testing cfn-init and cfn-signal workability."""
def setUp(self):
super(CfnInitIntegrationTest, self).setUp()
@@ -94,8 +92,7 @@
raise e
def test_server_cfn_init(self):
- """
- Check cfn-init and cfn-signal availability on the created server.
+ """Check cfn-init and cfn-signal availability on the created server.
The alternative scenario is the following:
1. Create a stack with a server and configured security group.
diff --git a/scenario/test_server_software_config.py b/scenario/test_server_software_config.py
index 8739a99..ad76763 100644
--- a/scenario/test_server_software_config.py
+++ b/scenario/test_server_software_config.py
@@ -133,8 +133,7 @@
dep1_dep.creation_time)
def test_server_software_config(self):
- """
- Check that passed files with scripts are executed on created server.
+ """Check that passed files with scripts are executed on created server.
The alternative scenario is the following:
1. Create a stack and pass files with scripts.
diff --git a/scenario/test_volumes.py b/scenario/test_volumes.py
index d4b1aa8..7980d81 100644
--- a/scenario/test_volumes.py
+++ b/scenario/test_volumes.py
@@ -22,9 +22,7 @@
class VolumeBackupRestoreIntegrationTest(scenario_base.ScenarioTestsBase):
- """
- Class is responsible for testing of volume backup.
- """
+ """Class is responsible for testing of volume backup."""
def setUp(self):
super(VolumeBackupRestoreIntegrationTest, self).setUp()
@@ -101,8 +99,7 @@
volume_id2)
def test_cinder_volume_create_backup_restore(self):
- """
- Ensure the 'Snapshot' deletion policy works.
+ """Ensure the 'Snapshot' deletion policy works.
This requires a more complex test, but it tests several aspects
of the heat cinder resources: