Updated python versions

This commit is contained in:
David Murphy 2023-12-13 13:28:57 -07:00
parent 7ff6652440
commit c041fd3458
No known key found for this signature in database
GPG key ID: 2A0B9ABC42BBA5E9

View file

@ -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:]))
"""