1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 18:45:34 +00:00
community.general/tests/unit
patchback[bot] ab08561421
[PR #11749/2d89fb1c backport][stable-13] keycloak_user: fix email_verified is not idempotent (#12129)
keycloak_user: fix email_verified is not idempotent (#11749)

* fix: email_verified is not idempotent

* autopep8

* fix import-before-documentation

* address reviewer comments

* rever formatting

* revert more stuff

* fix whitespace

* clean up

* fix diff mode

* nox -Re formatters

* Update plugins/modules/keycloak_user.py



* add deprecation warning

* keycloak_default_behavior

* Apply suggestions from code review



* Update plugins/modules/keycloak_user.py



* fix is_struct_included

* ignore keycloak_default_behavior and fix is_struct_included

* fix diff for groups

* fix changed flag in check mode

* nox -Re formatters

* fix group diff

* nox -Re formatters

* fix comment logic

* add todos

* fix user_profile_metadata in diff

* refactor diff

* rm default for required_actions

* update required_actions docstring

* fix before_user group handling

* nox -Re formatters

* fix yaml indent in doc strings

* use f-strings

* fix tests

* fix test_add_new_user

* rename keycloak_default_behavior to email_verified_behavior

* fix stupid

* nox -Re formatters

* remove typing from docstring

* remove user_profile_metadata parameter

* Update plugins/module_utils/_keycloak.py



* improve docs

* precompute ignored_arguments list

* nox -Re formatters

* simplify diff logic

* add more tests

* nox -Re formatters

* fix docs

* clean up more

* fix endstate when user does not change

* finalize integrationtest

* fail if group is not found

* fix tests

* nox -Re formatters

* fix docstring

* add integration tests for required_actions

* fix diff logic and fail early

* nox -Re formatters

* fix boolean logic error

* Apply suggestions from code review



* Apply suggestions from code review



---------



(cherry picked from commit 2d89fb1c15)

Co-authored-by: felix-grzelka <felix.grzelka@dataport.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-30 15:11:33 +02:00
..
plugins [PR #11749/2d89fb1c backport][stable-13] keycloak_user: fix email_verified is not idempotent (#12129) 2026-05-30 15:11:33 +02:00
requirements.txt nsupdate: add unit tests (#11677) 2026-03-26 21:37:16 +01:00
requirements.yml Adjust YAML files (#10233) 2025-06-15 09:13:16 +02:00