mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Updated python versions
This commit is contained in:
parent
7ff6652440
commit
c041fd3458
1 changed files with 4 additions and 2 deletions
|
@ -26,7 +26,9 @@ def usermod(modules):
|
|||
|
||||
@pytest.fixture(scope="module")
|
||||
def available_python_executable():
|
||||
yield salt.utils.path.which_bin(["python", "python2", "python2.6", "python2.7"])
|
||||
yield salt.utils.path.which_bin(
|
||||
["python", "python3", "python3.8", "python3.9", "python3.10"]
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
@ -48,7 +50,7 @@ def running_username():
|
|||
@pytest.fixture
|
||||
def script_contents(state_tree):
|
||||
_contents = """
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
print(" ".join(sys.argv[1:]))
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue