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/modules
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
..
cloud kubevirt: Re-enable unit tests (#1070) (#1075) 2020-10-12 12:41:36 +02:00
database postgresql_ext: fix module's failing when available ext versions contain a pure string (#1099) (#1104) 2020-10-16 12:15:54 +03:00
messaging Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
monitoring [stable-1] Update CI (#1790) 2021-02-11 16:32:47 +01:00
net_tools Fix nios modules to work with ansible-core 2.11 (#2057) (#2058) 2021-03-20 17:23:09 +01:00
notification move conversion of data to json in slack API handling (#1101) (#1120) 2020-10-19 11:33:03 +03:00
packaging npm - handle json decode exception (#1625) (#1636) 2021-01-14 14:40:33 +01:00
remote_management sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
source_control Various fixes for updating existing gitlab users (#1724) (#1756) 2021-02-09 12:01:59 +01:00
storage sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
system java_keystore: improve error handling and returned results (#2183) (#2226) 2021-04-12 22:13:34 +02:00
web_infrastructure sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
__init__.py Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
conftest.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
utils.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00