Fixed linting issues found by black

This commit is contained in:
Larry Smith Jr 2023-06-15 09:04:02 -04:00
parent 3f3a7c7334
commit 220de2d8ac
No known key found for this signature in database
4 changed files with 4 additions and 5 deletions

View File

@ -16,6 +16,5 @@ def pytest_runtest_setup(item):
).get_hosts("all")
else:
pytest.skip(
"Test should run only from inside molecule.",
allow_module_level=True
"Test should run only from inside molecule.", allow_module_level=True
)

View File

@ -8,7 +8,7 @@ def test_lvm_package_shall_be_installed(host):
def test_non_persistent_volume_group_is_created(host):
command = """sudo vgdisplay | grep -c 'my_vg'"""
cmd = host.run(command)
assert '1' in cmd.stdout
assert "1" in cmd.stdout
def test_mylv_logical_volume_is_created(host):

View File

@ -8,4 +8,4 @@ def test_lvm_package_shall_be_installed(host):
def test_non_persistent_volume_group_is_created(host):
command = """sudo vgdisplay | grep -c 'my_vg'"""
cmd = host.run(command)
assert '1' in cmd.stdout
assert "1" in cmd.stdout

View File

@ -8,7 +8,7 @@ def test_lvm_package_shall_be_installed(host):
def test_non_persistent_volume_group_is_created(host):
command = """sudo vgdisplay | grep -c 'my_vg'"""
cmd = host.run(command)
assert '1' in cmd.stdout
assert "1" in cmd.stdout
def test_mylv_logical_volume_is_created(host):