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
Adrian Likins e511326222 Fix 'yum skips updates' bug (#21113)
* Fix 'yum skips updates' bug

When the 'yum check-update' output is parsed, the regex used
to stitch wrapped lines together would fail on the first package.

It would fail because there is an empty line before the first
package, and this triggered the regex. To avoid a more complicated
regex, preprocess the check-update output to strip out any
empty lines.

The regex is also updated to include a group on the non whitespace
match to be used in the sub.

Add test cases based on info provided in the bug reports.

Fixes #20608
8 years ago
..
cli PEP 8 E111 & E114 cleanup. (#20838) 8 years ago
contrib PEP 8 W291 whitespace cleanup. 8 years ago
errors Add empty-init code-smell script. (#18406) 8 years ago
executor Combine jimi-c and bcoca's ideas and work on hooking module-utils into PluginLoader. 8 years ago
inventory Add lots of test cases to inventory/test_host.py (#17827) 8 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Fix @contextmanager leak on exception. (#21031) 8 years ago
module_utils Convert unit test yield to pytest parametrize. 8 years ago
modules Fix 'yum skips updates' bug (#21113) 8 years ago
parsing added docs for vault and made trigger shorter: !vault (#20985) 8 years ago
playbook PEP 8 indent cleanup. (#20800) 8 years ago
plugins Fix action test (#21102) 8 years ago
template PEP 8 indent cleanup. (#20800) 8 years ago
utils PEP 8 indent cleanup. (#20800) 8 years ago
vars PEP 8 indent cleanup. (#20800) 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago