Debian Codegraph @

ansible_collections/community/general/tests/unit/plugins/modules/test_puppet.py

raw
1 # Author: Alexei Znamensky ([email protected])
2 # Largely adapted from test_redhat_subscription by
3 # Jiri Hnidek ([email protected])
4 #
5 # Copyright (c) Alexei Znamensky ([email protected])
6 # Copyright (c) Jiri Hnidek ([email protected])
7 #
8 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
9 # SPDX-License-Identifier: GPL-3.0-or-later
10
11 from __future__ import annotations
12
13 from ansible_collections.community.general.plugins.modules import puppet
14
15 from .uthelper import RunCommandMock, UTHelper
16
17 UTHelper.from_module(puppet, __name__, mocks=[RunCommandMock])