You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/plugins
Pilou 3d7f2a1366
Fix an exception when passlib library is used with a wrapped algo (#75527)
* Test a passlib wrapped algo with a password lookup

* Fix error when passlib is used with a wrapped algo

The exception was:

     An unhandled exception occurred while running the lookup plugin 'password'.
     Error was a <class 'TypeError'>, original message: issubclass() arg 1 must be a class

and can be reproduced using the following command:

    ansible localhost -i localhost, -mdebug -amsg="{{ lookup('password', '/dev/null encrypt=ldap_sha512_crypt') }}"

The concerned algo are: bsd_nthash, django_argon2, django_bcrypt, ldap_bcrypt,
ldap_bsdi_crypt, ldap_des_crypt, ldap_hex_md5, ldap_hex_sha1, ldap_md5_crypt,
ldap_pbkdf2_sha1, ldap_pbkdf2_sha256, ldap_pbkdf2_sha512, ldap_sha1_crypt,
ldap_sha256_crypt, ldap_sha512_crypt, roundup_plaintext
3 years ago
..
action Clean up unit tests to prepare for pylint update. (#75473) 3 years ago
become Remove deprecated PlayContext.make_become_cmd (#74790) 4 years ago
cache Fix BaseFileCacheModule#keys to respect prefix (#72789) 4 years ago
callback Fix missing delegate display (#74370) 4 years ago
connection task_executor - use correct value for ssh connection retries (#75155) 3 years ago
filter Revert "Add duplicated set filter and documentation (#72729)" (#74053) 4 years ago
inventory constructed - Add keyed_groups suboptions 'default_value' and 'trailing_separator' (#74005) 4 years ago
loader_fixtures Clean up unit test boilerplate. 5 years ago
lookup Fix an exception when passlib library is used with a wrapped algo (#75527) 3 years ago
shell powershell - fix nested CLIXML parser (#71412) 4 years ago
strategy Temporarily disable strategy units (#74048) 4 years ago
__init__.py
test_plugins.py plugin loader: return collection name; ansible-doc: handle ansible.builtin correctly (#70026) 4 years ago