2022-12-14 21:30:03 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Author: Alexei Znamensky (russoz@gmail.com)
|
|
|
|
# Largely adapted from test_redhat_subscription by
|
|
|
|
# Jiri Hnidek (jhnidek@redhat.com)
|
|
|
|
#
|
|
|
|
# Copyright (c) Alexei Znamensky (russoz@gmail.com)
|
|
|
|
# Copyright (c) Jiri Hnidek (jhnidek@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 (absolute_import, division, print_function)
|
|
|
|
__metaclass__ = type
|
|
|
|
|
|
|
|
|
2023-09-12 06:42:33 +02:00
|
|
|
from ansible_collections.community.general.plugins.modules import puppet
|
2023-09-12 14:24:10 +02:00
|
|
|
from .helper import Helper
|
2022-12-14 21:30:03 +01:00
|
|
|
|
|
|
|
|
2023-09-12 14:24:10 +02:00
|
|
|
helper = Helper.from_file(puppet.main, "tests/unit/plugins/modules/test_puppet.yaml")
|
2023-09-12 06:42:33 +02:00
|
|
|
patch_bin = helper.cmd_fixture
|
2023-09-12 14:24:10 +02:00
|
|
|
test_module = helper.test_module
|