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/system
quidame 199ead85d0
java_keystore: fix keystore type (#2516)
* fix keystore type; update unit tests

* add changelog fragment

* document new param 'keystore_type'

* add keystore_type support (backward compatible)

* check JKS format with magic bytes
* update integration tests
* revert first changes in unit tests
* update changelog fragment

* fix magic bytes for python2/python3

* fix integration tests (irrelevant check_mode)

* fix unit test (keystore removed before failure => changed=true)

* fix typo

* fix spelling

* shorten a branch

* mock is_jks_or_pkcs12

* fix function path in unit tests

* Apply suggestions from code review (spelling)

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

* rename a method (module + unit tests)

* move ArgumentSpec class content to main()

* refactor create() to not loose existing keystore in case of error

* update unit tests

* add integration test (error handling)

* fix keystore backup cleanup

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
2021-06-27 14:56:43 +02:00
..
interfaces_file Update CI (#1782) 2021-02-11 10:24:58 +01:00
__init__.py Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
test_java_keystore.py java_keystore: fix keystore type (#2516) 2021-06-27 14:56:43 +02:00
test_modprobe.py modprobe - fix task status when module cannot be loaded (#2843) 2021-06-26 23:27:41 +12:00
test_pamd.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_parted.py parted: fix regex for version match and partition size output (#1695) 2021-02-05 07:21:57 +01:00
test_solaris_zone.py solaris_zone: fix zone configuration with python3 (#1082) 2020-10-14 21:18:04 +02:00
test_sysupgrade.py sysupgrade: new module (#341) 2020-08-18 09:10:41 +02:00
test_ufw.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
test_xfconf.py ModuleHelper - also uses LC_ALL to force language (#2731) 2021-06-07 13:06:23 +02:00