mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 03:23:59 -07:00
[PR #9859/eff25c8a backport][stable-10] Fix/improve tests (#9860)
Fix/improve tests (#9859)
* Fix tests.
* Improve callback tests.
(cherry picked from commit eff25c8a6e
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
5f1f76b8f4
commit
8253fb171d
28 changed files with 187 additions and 157 deletions
|
@ -19,7 +19,7 @@
|
|||
- name: Assert encrypted secret output is base64 encoded
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- encrypted_secret.value | b64decode
|
||||
- (encrypted_secret.value | b64decode) is truthy
|
||||
fail_msg: "Encrypted secret is not base64 encoded"
|
||||
success_msg: "Encrypted secret is base64 encoded"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue