Remove seperate salt-cloud path tests

Removes seperate salt-cloud path tests as they are now covered by
test_pkg_paths
This commit is contained in:
Barney Sowood 2023-08-14 16:41:43 +01:00 committed by Gareth J. Greenaway
parent 79c808623e
commit 1da32ae614

View file

@ -123,23 +123,6 @@ def test_salt_user_shell(install_salt):
assert shell_exists is True
def test_salt_cloud_dirs(install_salt):
"""
Test the correct user is running the Salt Master
"""
if platform.is_windows() or platform.is_darwin():
pytest.skip("Package does not have user set. Not testing user")
paths = [
"/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/deploy",
"/etc/salt/cloud.deploy.d",
]
for name in paths:
path = pathlib.Path(name)
assert path.exists()
assert path.owner() == "salt"
assert path.group() == "salt"
def test_pkg_paths(
install_salt, pkg_paths, pkg_paths_salt_user, pkg_paths_salt_user_exclusions
):