mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Fix ansible-test virtualenv use in import test.
This commit is contained in:
@@ -67,7 +67,9 @@ class ImportTest(SanityMultipleVersion):
|
||||
|
||||
remove_tree(virtual_environment_path)
|
||||
|
||||
cmd = ['virtualenv', virtual_environment_path, '--python', find_python(python_version), '--no-setuptools', '--no-wheel']
|
||||
python = find_python(python_version)
|
||||
|
||||
cmd = [python, '-m', 'virtualenv', virtual_environment_path, '--python', python, '--no-setuptools', '--no-wheel']
|
||||
|
||||
if not args.coverage:
|
||||
cmd.append('--no-pip')
|
||||
|
||||
Reference in New Issue
Block a user