test_depsolve: Use host environment's /usr/bin/python3
Using just 'python3' uses the venv version when running from tox which fails even when libdnf5 is available in the host environment.
This commit is contained in:
parent
562d30cf59
commit
eca54c03ab
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ TEST_KEY = "-----BEGIN PGP PUBLIC KEY BLOCK-----\nTEST KEY\n"
|
|||
|
||||
|
||||
def has_dnf5():
|
||||
return sp.run(["python3", "-c", "import libdnf5"], check=False).returncode == 0
|
||||
return sp.run(["/usr/bin/python3", "-c", "import libdnf5"], check=False).returncode == 0
|
||||
|
||||
|
||||
def has_dnf():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue