1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00
community.general/tests/unit/plugins
patchback[bot] 721d2bd35d
[PR #11198/6365b5a9 backport][stable-12] lxd_storage_pool_info, lxd_storage_volume_info: new modules (#11238)
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.

---------


(cherry picked from commit 6365b5a981)

Co-authored-by: Sean McAvoy <seanmcavoy@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-12-01 07:20:55 +01:00
..
become [PR #11223/d550baac backport][stable-12] fix ruff case UP031 (#11226) 2025-11-29 14:16:53 +01:00
cache Reformat everything. 2025-11-01 13:46:53 +01:00
callback [PR #11048/ebf45260 backport][stable-12] remove conditional code for old snakes (#11050) 2025-11-08 20:55:09 +01:00
connection [PR #11043/3478863e backport][stable-12] Address issues reported by ruff check (#11047) 2025-11-08 09:49:52 +01:00
filter Reformat everything. 2025-11-01 13:46:53 +01:00
inventory [PR #11115/58bb1e7c backport][stable-12] fix ruff case B007 (#11131) 2025-11-12 21:58:36 +01:00
lookup [PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables (#11058) 2025-11-09 09:59:42 +01:00
module_utils [PR #11145/255059f7 backport][stable-12] fix ruff case B015 (#11146) 2025-11-13 06:30:21 +01:00
modules [PR #11198/6365b5a9 backport][stable-12] lxd_storage_pool_info, lxd_storage_volume_info: new modules (#11238) 2025-12-01 07:20:55 +01:00
plugin_utils Reformat everything. 2025-11-01 13:46:53 +01:00