1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 10:35:34 +00:00
community.general/tests/unit/plugins/module_utils
munchtoast d4031f36e4
kopia: Add kopia_repository module (#11752)
* Add kopia module util

* fix pipeline suggestions

* add kopia repository module

* apply code review changes

* remove kopia_runner instance unit test

* update botmeta with kopia

* refactor docs and redundant state

* add kopia_info module and fix kopia_repository check mode support

- Add kopia_info module for read-only repository information gathering
  (kopia repository status, kopia repository throttle get) following
  the pacemaker_info pattern with ModuleHelper and info_module fragment
- Add _fmt_throttle to _kopia.py and register throttle format in
  kopia_runner; remove throttle_operation get option from
  kopia_repository per Ansible best practices (info ops belong in
  _info modules)
- Add throttle suboption dict to kopia_repository with all seven
  kopia repository throttle set flags
- Fix check_mode: support from full to actually full by implementing
  _predict_value() in kopia_repository; previously check_mode_skip
  caused changed to always be false in check mode
- Add check mode test cases to test_kopia_repository.yaml covering
  created and disconnected states for both connected and disconnected
  initial conditions
- Add BOTMETA.yml entry and full test fixture for kopia_info

* apply code review suggestions
2026-05-30 13:38:30 +02:00
..
_hwc_utils Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
_xenserver Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__cmd_runner.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__csv.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__deps.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__keycloak.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
test__keycloak_connect.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
test__kopia.py kopia: Add kopia_repository module (#11752) 2026-05-30 13:38:30 +02:00
test__module_helper.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__ocapi_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__onepassword.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__opennebula.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__pritunl_api.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
test__python_runner.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__scaleway.py multiple module utils: flatten directories (#11974) 2026-05-06 07:07:51 +02:00
test__utm_utils.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00
test__vardict.py Make all doc fragments, module utils, and plugin utils private (#11896) 2026-04-20 20:16:26 +02:00