summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-03-13 18:23:04 -0700
committerGitHub <noreply@github.com>2023-03-13 18:23:04 -0700
commitd36f52614d15d763f9be95abdb2da5488ad2ceb5 (patch)
treed5341599b4c2a2769409369fa8b927c391cad547 /test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py
parentff91a95ef11acedd0ff8367143a882c72f7637ae (diff)
downloadansible-d36f52614d15d763f9be95abdb2da5488ad2ceb5.tar.gz
[stable-2.14] ansible-test - Improve code formatting (#79983) (#80206)
* ansible-test - Add blank lines after docstrings * ansible-test - Preserve formatting of arg pairs * ansible-test - Remove unused string * ansible-test - Remove pointless dict() usage * ansible-test - Clean up initial func arg indenting * ansible-test - Clean up constructor arg indenting * ansible-test - Clean up func arg wrapping * ansible-test - Clean up comma and paren placement (cherry picked from commit 715ab99462b1799f4a0c1caeddf161e930adf13f)
Diffstat (limited to 'test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py')
-rw-r--r--test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py b/test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py
index d005a3ca57..836cb22c2f 100644
--- a/test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py
+++ b/test/lib/ansible_test/_internal/commands/integration/cloud/opennebula.py
@@ -16,6 +16,7 @@ from . import (
class OpenNebulaCloudProvider(CloudProvider):
"""Checks if a configuration file has been passed or fixtures are going to be used for testing"""
+
def setup(self) -> None:
"""Setup the cloud resource before delegation and register a cleanup callback."""
super().setup()
@@ -42,6 +43,7 @@ class OpenNebulaCloudProvider(CloudProvider):
class OpenNebulaCloudEnvironment(CloudEnvironment):
"""Updates integration test environment after delegation. Will setup the config file as parameter."""
+
def get_environment_config(self) -> CloudEnvironmentConfig:
"""Return environment configuration for use in the test environment after delegation."""
parser = configparser.ConfigParser()