mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
remove extraneous unused constant (#7185)
This commit is contained in:
parent
d6ebba1aea
commit
ce6b2bc362
8 changed files with 0 additions and 13 deletions
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"])
|
||||
|
|
|
@ -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"])
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue