1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-24 14:17:22 +00:00
community.general/tests/unit/plugins/modules/test_npm.py
patchback[bot] 268b31b53d
[PR #11639/758a445d backport][stable-12] npm: use uthelper for tests (#11644)
npm: use uthelper for tests (#11639)

(cherry picked from commit 758a445d97)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-03-22 11:17:30 +01:00

12 lines
492 B
Python

# Copyright (c) 2026 Alexei Znamensky (russoz@gmail.com)
# Copyright (c) 2021 Abhijeet Kasurde <akasurde@redhat.com>
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
from __future__ import annotations
from ansible_collections.community.general.plugins.modules import npm
from .uthelper import RunCommandMock, UTHelper
UTHelper.from_module(npm, __name__, mocks=[RunCommandMock])