Skip to content

Commit

Permalink
Fixed linting issues found by black
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlesmithjr committed Jun 15, 2023
1 parent 3f3a7c7 commit 220de2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions molecule/default/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion molecule/default/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion molecule/kvmonlyvg/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion molecule/kvmsinglelv/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 220de2d

Please sign in to comment.