diff --git a/test/lib/ansible_test/_internal/commands/sanity/import.py b/test/lib/ansible_test/_internal/commands/sanity/import.py index 6f0df203960..19a67b4b290 100644 --- a/test/lib/ansible_test/_internal/commands/sanity/import.py +++ b/test/lib/ansible_test/_internal/commands/sanity/import.py @@ -135,9 +135,6 @@ class ImportTest(SanityMultipleVersion): if virtualenv_yaml is False: display.warning(f'Sanity test "{self.name}" ({import_type}) on Python {python.version} may be slow due to missing libyaml support in PyYAML.') - if args.prime_venvs: - continue - env = ansible_environment(args, color=False) env.update( @@ -156,6 +153,9 @@ class ImportTest(SanityMultipleVersion): PYTHONPATH=':'.join((get_ansible_test_python_path(), env["PYTHONPATH"])), ) + if args.prime_venvs: + continue + display.info(import_type + ': ' + data, verbosity=4) cmd = ['importer.py']