remove extraneous unused constant (#7185)

pull/7191/head
Alexei Znamensky 2023-09-01 16:32:31 +12:00 committed by GitHub
parent d6ebba1aea
commit ce6b2bc362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 0 additions and 13 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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

View File

@ -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"])

View File

@ -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"])

View File

@ -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

View File

@ -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