summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules/test_cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests/modules/test_cli.py')
-rw-r--r--tests/integration_tests/modules/test_cli.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/integration_tests/modules/test_cli.py b/tests/integration_tests/modules/test_cli.py
index 3f41b34d..97bfe52d 100644
--- a/tests/integration_tests/modules/test_cli.py
+++ b/tests/integration_tests/modules/test_cli.py
@@ -7,7 +7,6 @@ import pytest
from tests.integration_tests.instances import IntegrationInstance
-
VALID_USER_DATA = """\
#cloud-config
runcmd:
@@ -27,9 +26,9 @@ def test_valid_userdata(client: IntegrationInstance):
PR #575
"""
- result = client.execute('cloud-init devel schema --system')
+ result = client.execute("cloud-init devel schema --system")
assert result.ok
- assert 'Valid cloud-config: system userdata' == result.stdout.strip()
+ assert "Valid cloud-config: system userdata" == result.stdout.strip()
@pytest.mark.sru_2020_11
@@ -39,7 +38,7 @@ def test_invalid_userdata(client: IntegrationInstance):
PR #575
"""
- result = client.execute('cloud-init devel schema --system')
+ result = client.execute("cloud-init devel schema --system")
assert not result.ok
- assert 'Cloud config schema errors' in result.stderr
+ assert "Cloud config schema errors" in result.stderr
assert 'needs to begin with "#cloud-config"' in result.stderr