1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #7185/ce6b2bc3 backport][stable-7] remove extraneous unused constant (#7188)

remove extraneous unused constant (#7185)

(cherry picked from commit ce6b2bc362)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2023-09-01 11:28:13 +00:00 committed by GitHub
parent 7c04aaa48f
commit 0d5ec37249
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