1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-04 03:07:01 +00:00
community.general/tests/unit/plugins
Sean McAvoy 6365b5a981
lxd_storage_pool_info, lxd_storage_volume_info: new modules (#11198)
* Fix mistaken rebase

* plugins/modules/lxd_storage_: include error codes, clean up notes

* plugins/modules/lxd_storage_: snap_url, ruff fix

* plugins/modules/lxd_storage_volume_info.py: remove checks on expected api returned bits

* plugins/modules/lxd_storage_volume_info.py: required: true

* tests/integration/targets/lxd_storage_volume_info/tasks/main.yaml: add Test fetching specific volume by name

* tests/unit/plugins/modules/test_lxd_storage_: add unit tests

* tests/integration/targets/lxd_storage_pool_info/tasks/main.yaml: add integratio tests

* tests/integration/targets/lxd_storage_: not required

* tests/integration/targets/lxd_storage_: not required perhaps, lxd_project has them

* tests/unit/plugins/modules/test_lxd_storage_volume_info.py: fix python3.8 tests

* tests/unit/plugins/modules/test_lxd_storage_pool_info.py: fix python3.8

* tests/integration/targets/lxd_storage_: correct paths for aliases

* tests/unit/plugins/modules/test_lxd_storage_volume_info.py: remove backticks

* tests/unit/plugins/modules/test_lxd_storage_volume_info.py: remove blank line

* tests/unit/plugins/modules/test_lxd_storage_: python3.8 changes

* tests/unit/plugins/modules/test_lxd_storage_: python3.8 changes

* tests/unit/plugins/lookup/test_github_app_access_token.py: restore

* tests/unit/plugins/connection/test_wsl.py: restore

* plugins/modules/lxd_storage_: use ANSIBLE_LXD_DEFAULT_SNAP_URL and put API version into const

* lxd_storage_volume_info: use recursion to gather all volume details

* tests/integration/targets/lxd_storage_volume_info/tasks/main.yaml: fix silet skipped failures

* tests/integration/targets/lxd_storage_pool_info/tasks/main.yaml: fix silet failures

* lxd_storage_pool_info: update to use recursion to gather all details in one shot

* Remove unnecessary change.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-12-01 06:58:45 +01:00
..
become fix ruff case UP031 (#11223) 2025-11-29 08:28:22 +01:00
cache Reformat everything. 2025-11-01 13:46:53 +01:00
callback remove conditional code for old snakes (#11048) 2025-11-08 17:21:46 +01:00
connection Address issues reported by ruff check (#11043) 2025-11-08 17:05:21 +13:00
filter Reformat everything. 2025-11-01 13:46:53 +01:00
inventory fix ruff case B007 (#11115) 2025-11-12 21:06:14 +01:00
lookup Improve Python code: address unused variables (#11049) 2025-11-09 08:14:35 +01:00
module_utils fix ruff case B015 (#11145) 2025-11-13 06:23:30 +01:00
modules lxd_storage_pool_info, lxd_storage_volume_info: new modules (#11198) 2025-12-01 06:58:45 +01:00
plugin_utils Reformat everything. 2025-11-01 13:46:53 +01:00