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
Matt Martz 7239d2d371
Ensure that unsafe is more difficult to lose [stable-2.14] (#82295)
* Ensure that unsafe is more difficult to lose

* Add Task.untemplated_args, and switch assert over to use it
* Don't use re in first_found, switch to using native string methods
* If nested templating results in unsafe, just error, don't continue

(cherry picked from commit 586f1924512b01305f896d9ae4732773023013a3)

* ci_complete
1 year ago
..
_vendor Use unittest.mock instead of mock. (#77883) 3 years ago
ansible_test Avoid deprecated method in unit tests. 3 years ago
cli [stable-2.14] Resolve issues on python pre-3.10.6 with collection dirs longer than 100 characters (#81061) (#81073) 1 year ago
compat Remove unit test Python 2.6 compat. (#78369) 2 years ago
config Yolo (#77554) 3 years ago
errors Clean up unit tests. (#78498) 2 years ago
executor Fix connection/become task loop settings (#78565) (#78935) 2 years ago
galaxy ansible-galaxy - fix turning off the ConcreteArtifactManager's validate certs at the global level (#79561) (#79696) 2 years ago
inventory Fix pytest collection during test_host partial run 2 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Use unittest.mock instead of mock. (#77883) 3 years ago
module_utils [stable-2.14] ansible-test - update module_utils/urls.py unit test to support cryptography >= 41.0.0 (#81296) (#81317) 1 year ago
modules Prefer unittest.mock over mock. (#77886) 3 years ago
parsing Ensure that unsafe is more difficult to lose [stable-2.14] (#82295) 1 year ago
playbook Make using blocks as handlers a parser error (#79993) (#80010) 2 years ago
plugins Replace `reboot_command` integration test with unit tests (#78956) (#81267) 1 year ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Use unittest.mock instead of mock. (#77883) 3 years ago
utils Skip test if no there are no problematic chars for wcswidth (#78645) 2 years ago
vars Use unittest.mock instead of mock. (#77883) 3 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Update unit test controller requirements. (#78376) 2 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago
test_no_tty.py ansible-test - Fix subprocess management. (#77641) 3 years ago