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
Sam Doran 3a5bd5be18 [stable-2.9] Account for empty strings when splitting the host pattern (#62442) (#62679)
Improve tests
- add more unit test cases
- add specific integration test with more cases

Testing shows no major downside to calling .strip() twice in a comprehension vs. using a regular for loop and only calling .strip() once. Going with the comprehension for ease of maintenance and because comprehensions are optimized in CPython.
(cherry picked from commit 987265a6ef)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
..
cli Fix test_galaxy failing test (#62624) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config fixes to config manager (#58530) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor [stable-2.9] Ensure we don't erase unsafe context in TaskExecutor.run on bytes (#62287) 5 years ago
galaxy [stable-2.9] Fix up role version pagination for Galaxy install (#64373) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils XenServer: Update docs with recent changes in XenAPI python lib and branding (#63728) (#63815) 5 years ago
modules [stable-2.9] Fix nxos_l3_interfaces module and tests (#62545) 5 years ago
parsing Add a representer for AnsibleUnsafeBytes (#62598) 5 years ago
playbook Wrap CLI passwords as AnsibleUnsafeText (#63352) 5 years ago
plugins [stable-2.9] Account for empty strings when splitting the host pattern (#62442) (#62679) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template unit tests: remove unused imports (#60462) 5 years ago
utils add subdir support to collection loading (#60682) 5 years ago
vars Fix inventory cache interface (#50446) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt [stable-2.9] Fix ansible-test collections requirements installation. (#62181) 5 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago