diff --git a/tests/unit/plugins/modules/test_cpanm.py b/tests/unit/plugins/modules/test_cpanm.py index 5367a1fab8..cfe2304ddb 100644 --- a/tests/unit/plugins/modules/test_cpanm.py +++ b/tests/unit/plugins/modules/test_cpanm.py @@ -18,8 +18,6 @@ from ansible_collections.community.general.plugins.modules import cpanm import pytest -TESTED_MODULE = cpanm.__name__ - @pytest.fixture def patch_cpanm(mocker): diff --git a/tests/unit/plugins/modules/test_gconftool2.py b/tests/unit/plugins/modules/test_gconftool2.py index 31d4df29f2..32c71bcb3e 100644 --- a/tests/unit/plugins/modules/test_gconftool2.py +++ b/tests/unit/plugins/modules/test_gconftool2.py @@ -12,8 +12,6 @@ from ansible_collections.community.general.plugins.modules import gconftool2 import pytest -TESTED_MODULE = gconftool2.__name__ - @pytest.fixture def patch_gconftool2(mocker): diff --git a/tests/unit/plugins/modules/test_gconftool2_info.py b/tests/unit/plugins/modules/test_gconftool2_info.py index 352af6bb0e..08508cadfb 100644 --- a/tests/unit/plugins/modules/test_gconftool2_info.py +++ b/tests/unit/plugins/modules/test_gconftool2_info.py @@ -12,8 +12,6 @@ from ansible_collections.community.general.plugins.modules import gconftool2_inf import pytest -TESTED_MODULE = gconftool2_info.__name__ - @pytest.fixture def patch_gconftool2_info(mocker): diff --git a/tests/unit/plugins/modules/test_opkg.py b/tests/unit/plugins/modules/test_opkg.py index 9085a5d17f..b33c8f97c0 100644 --- a/tests/unit/plugins/modules/test_opkg.py +++ b/tests/unit/plugins/modules/test_opkg.py @@ -14,7 +14,6 @@ import pytest from .cmd_runner_test_utils import CmdRunnerTestHelper -TESTED_MODULE = module.__name__ with open("tests/unit/plugins/modules/test_opkg.yaml", "r") as TEST_CASES: helper = CmdRunnerTestHelper(test_cases=TEST_CASES) patch_bin = helper.cmd_fixture diff --git a/tests/unit/plugins/modules/test_puppet.py b/tests/unit/plugins/modules/test_puppet.py index f62523e7fa..d3c2964dd3 100644 --- a/tests/unit/plugins/modules/test_puppet.py +++ b/tests/unit/plugins/modules/test_puppet.py @@ -19,8 +19,6 @@ from ansible_collections.community.general.plugins.modules import puppet import pytest -TESTED_MODULE = puppet.__name__ - ModuleTestCase = namedtuple("ModuleTestCase", ["id", "input", "output", "run_command_calls"]) RunCmdCall = namedtuple("RunCmdCall", ["command", "environ", "rc", "out", "err"]) diff --git a/tests/unit/plugins/modules/test_snap.py b/tests/unit/plugins/modules/test_snap.py index 3a02d5994d..65ba53d475 100644 --- a/tests/unit/plugins/modules/test_snap.py +++ b/tests/unit/plugins/modules/test_snap.py @@ -13,8 +13,6 @@ from ansible_collections.community.general.plugins.modules import snap import pytest -TESTED_MODULE = snap.__name__ - ModuleTestCase = namedtuple("ModuleTestCase", ["id", "input", "output", "run_command_calls"]) RunCmdCall = namedtuple("RunCmdCall", ["command", "environ", "rc", "out", "err"]) diff --git a/tests/unit/plugins/modules/test_xfconf.py b/tests/unit/plugins/modules/test_xfconf.py index be622462ef..3abd93077d 100644 --- a/tests/unit/plugins/modules/test_xfconf.py +++ b/tests/unit/plugins/modules/test_xfconf.py @@ -20,7 +20,6 @@ import pytest from .cmd_runner_test_utils import CmdRunnerTestHelper -TESTED_MODULE = module.__name__ with open("tests/unit/plugins/modules/test_xfconf.yaml", "r") as TEST_CASES: helper = CmdRunnerTestHelper(test_cases=TEST_CASES) patch_bin = helper.cmd_fixture diff --git a/tests/unit/plugins/modules/test_xfconf_info.py b/tests/unit/plugins/modules/test_xfconf_info.py index cb8b8f1da0..e9c227c54a 100644 --- a/tests/unit/plugins/modules/test_xfconf_info.py +++ b/tests/unit/plugins/modules/test_xfconf_info.py @@ -13,7 +13,6 @@ import pytest from .cmd_runner_test_utils import CmdRunnerTestHelper -TESTED_MODULE = module.__name__ with open("tests/unit/plugins/modules/test_xfconf_info.yaml", "r") as TEST_CASES: helper = CmdRunnerTestHelper(test_cases=TEST_CASES) patch_bin = helper.cmd_fixture