1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
patchback[bot] 0fbb0039b1
java_keystore: improve error handling and returned results (#2183) (#2226)
* java_keystore - improve error handling and returned results

* set check_rc=False to return results as documented when module fails
* set LANG, LC_ALL and LC_MESSAGES to C to rely keytool output parsing
* fix pylint's `no-else-return` and `unused-variable` hints
* update related unit tests accordingly
* add a changelog fragment

update unit test (remove stdout_lines from returned dict)

fix unit test: failure is now expected when alias does not exist

* Update changelogs/fragments/2183-java_keystore_improve_error_handling.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix integration test: overwrite keystore at the same location

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 89b7e7191f)

Co-authored-by: quidame <quidame@poivron.org>
2021-04-12 22:13:34 +02:00
..
become Fix more become plugins (#708) 2020-07-29 20:27:16 +02:00
cache Fix more plugin unit tests. (#51) 2020-03-25 22:37:34 +00:00
connection Fix imports, part 2 (#42) 2020-03-25 11:43:51 +00:00
inventory proxmox: ignore QEMU templates altogether (#1185) (#1208) 2020-10-30 20:53:06 +01:00
lookup Add Thycotic DevOps Secrets Vault lookup plugin (#90) 2020-07-13 05:45:07 +00:00
module_utils [PR #2203/0cd0f0ea backport][stable-1] module_helper - fixed decorator cause_changes (#2209) 2021-04-08 19:49:50 +02:00
modules java_keystore: improve error handling and returned results (#2183) (#2226) 2021-04-12 22:13:34 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00