Skip to content

Commit

Permalink
Removed missed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
David Murphy committed Oct 5, 2023
1 parent f6b5b7a commit 7c7dab0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/tests/integration/test_salt_ufw.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def test_salt_ufw(salt_master, salt_call_cli, install_salt):
"""
Test salt.ufw for Debian/Ubuntu salt-master
"""
log.warning(f"DGM test_salt_ufw install_salt '{install_salt}'")

if install_salt.distro_id not in ("debian", "ubuntu"):
pytest.skip("Only tests Debian / Ubuntu packages")

Expand All @@ -24,10 +22,3 @@ def test_salt_ufw(salt_master, salt_call_cli, install_salt):

ufw_master_path = pathlib.Path("/etc/ufw/applications.d/salt-master")
assert ufw_master_path.exists()

etc_ufw_path = pathlib.Path("/etc/ufw/applications.d")
str_etc_ufw_path = str(etc_ufw_path)
log.warning(f"DGM test_salt_ufw etc ufw contents '{etc_ufw_path}'")
ret = salt_call_cli.run("--local", "cmd.run", f"ls -alh {etc_ufw_path}/")
log.warning(f"DGM test_salt_ufw etc ufw contents, ls -alh file, returned '{ret}'")
assert ret.returncode == 0

0 comments on commit 7c7dab0

Please sign in to comment.