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
Brian Coca bce4bb2ce2 preliminary privlege escalation unification + pbrun
- become constants inherit existing sudo/su ones
- become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group
- changed method signatures as privlege escalation is collapsed to become
- added tests for su and become, diabled su for lack of support in local.py
- updated playbook,play and task objects to become
- added become to runner
- added whoami test for become/sudo/su
- added home override dir for plugins
- removed useless method from ask pass
- forced become pass to always be string also uses to_bytes
- fixed fakerunner for tests
- corrected reference in synchronize action plugin
- added pfexec (needs testing)
- removed unused sudo/su in runner init
- removed deprecated info
- updated pe tests to allow to run under sudo and not need root
- normalized become options into a funciton to avoid duplication and inconsistencies
- pushed suppored list to connection classs property
- updated all connection plugins to latest 'become' pe

- includes fixes from feedback (including typos)
- added draft docs
- stub of become_exe, leaving for future v2 fixes
10 years ago
..
inventory_test_data Add stub tests for module args parsing. 10 years ago
module_tests Docker test does not require the mock module 10 years ago
vault_test_data Make VaultEditor Tests compatible with FIPS mode 10 years ago
README.md Rename tests to test, use old directory name. 11 years ago
TestConstants.py Rename tests to test, use old directory name. 11 years ago
TestFilters.py rearranged math filters 10 years ago
TestInventory.py Merge branch 'svg_and_inventory_refactor' into devel 11 years ago
TestModuleUtilsBasic.py Obfuscate passwords in more places where it is displayed 10 years ago
TestModuleUtilsDatabase.py Exception message changes 10 years ago
TestModules.py Update module test code to avoid pycs (that are not used) 10 years ago
TestPlayVarsFiles.py preliminary privlege escalation unification + pbrun 10 years ago
TestSynchronize.py preliminary privlege escalation unification + pbrun 10 years ago
TestUtils.py preliminary privlege escalation unification + pbrun 10 years ago
TestUtilsStringFunctions.py Unit tests for ansible.utils 11 years ago
TestVault.py Skip some md5 related unit tests when running in fips mode 10 years ago
TestVaultEditor.py Make VaultEditor Tests compatible with FIPS mode 10 years ago
ansible.cfg Rename tests to test, use old directory name. 11 years ago

README.md

Unit tests

Tests at code level. Should be concise and to the point, and organized by subject.