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] 9241b853c0
java_keystore: improve error handling and returned results (#2183) (#2227)
* 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:36 +02:00
..
cloud Remove kubevirt leftovers. (#1593) 2021-01-05 18:40:15 -05:00
database Remove postgresql content for 2.0.0 (#1355) 2020-11-24 09:01:50 +01:00
identity Added modules ipa_otpconfig and ipa_otptoken (#2122) (#2219) 2021-04-11 15:53:33 +02:00
messaging Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
monitoring StatsD Module (#1793) (#1842) 2021-02-16 12:09:58 +01:00
net_tools New module: Add Pritunl VPN organization module (net_tools/pritunl/) (#804) (#2212) 2021-04-09 05:35:07 +02:00
notification move conversion of data to json in slack API handling (#1101) 2020-10-19 10:58:14 +03:00
packaging npm - handle json decode exception (#1625) 2021-01-14 14:18:41 +01:00
remote_management add new module xcc_redfish_command to manage Lenovo servers using Redfish APIs (#2007) (#2095) 2021-03-24 16:43:11 +01:00
source_control Bugfix: PyGithub does not support explicit port in base_url (#2204) (#2215) 2021-04-09 12:16:29 +02: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) (#2227) 2021-04-12 22:13:36 +02:00
web_infrastructure Jenkins build module (#745) (#1957) 2021-03-04 08:27:10 +01: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