mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't hardcode the python version in the test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
a1861c7871
commit
c6e2bd18e9
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import pathlib
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import psutil
|
||||
import pytest
|
||||
|
@ -61,7 +62,9 @@ def test_salt_cloud_dirs(install_salt):
|
|||
Test the correct user is running the Salt Master
|
||||
"""
|
||||
paths = [
|
||||
"/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/deploy",
|
||||
"/opt/saltstack/salt/lib/python{}.{}/site-packages/salt/cloud/deploy".format(
|
||||
*sys.version_info
|
||||
),
|
||||
"/etc/salt/cloud.deploy.d",
|
||||
]
|
||||
for name in paths:
|
||||
|
|
Loading…
Add table
Reference in a new issue