From 1f309ca19e4087709038d5624fe55dcd3539d087 Mon Sep 17 00:00:00 2001 From: Nicolas Boutet Date: Tue, 15 Aug 2023 09:37:01 +0200 Subject: [PATCH] Fix tests with molecule 6 --- molecule/default/tests/test_role.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/molecule/default/tests/test_role.py b/molecule/default/tests/test_role.py index 0554b3e..8ee447c 100644 --- a/molecule/default/tests/test_role.py +++ b/molecule/default/tests/test_role.py @@ -1,13 +1,5 @@ import pytest -import os - -import testinfra.utils.ansible_runner - -testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( - os.environ["MOLECULE_INVENTORY_FILE"] -).get_hosts("all") - @pytest.mark.parametrize( "name",