mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
79c808623e
commit
1da32ae614
1 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue