Skip to content

Commit

Permalink
Improve variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannik committed Jul 1, 2024
1 parent 67ca424 commit 213ac4f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration/targets/group/tasks/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,24 +336,24 @@
set:
- MySubGroup
- my_user_3
register: set_member
register: set_member_flattened

- name: get result of set members with flattening
object_info:
identity: '{{ object_identity }}'
properties:
- member
register: set_member_actual
register: set_member_flattened_actual

- name: assert set members with flattening
assert:
that:
- set_member is changed
- set_member_actual.objects[0].member | length == 3
- test_users.results[0].distinguished_name in set_member_actual.objects[0].member
- test_users.results[1].distinguished_name in set_member_actual.objects[0].member
- test_users.results[2].distinguished_name in set_member_actual.objects[0].member
- sub_group.distinguished_name not in set_member_actual.objects[0].member
- set_member_flattened is changed
- set_member_flattened_actual.objects[0].member | length == 3
- test_users.results[0].distinguished_name in set_member_flattened_actual.objects[0].member
- test_users.results[1].distinguished_name in set_member_flattened_actual.objects[0].member
- test_users.results[2].distinguished_name in set_member_flattened_actual.objects[0].member
- sub_group.distinguished_name not in set_member_flattened_actual.objects[0].member

- name: remove group - check
group:
Expand Down

0 comments on commit 213ac4f

Please sign in to comment.