1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-12 19:15:31 +00:00
community.general/tests/unit/plugins/modules/test_kopia_policy.py
munchtoast bac4e25a86 feat: Add kopia_policy module
- Manage Kopia snapshot policies (set, delete, list, show) via the
  Kopia CLI.
- Extends community.general._kopia doc fragment for shared password
  and config options.
- Uses fixed args for read-only _get() list_policies method.
2026-06-04 10:40:58 -04:00

11 lines
454 B
Python

# Copyright (c) 2026, Dexter Le <dextersydney2001@gmail.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 kopia_policy
from .uthelper import RunCommandMock, UTHelper
UTHelper.from_module(kopia_policy, __name__, mocks=[RunCommandMock])