ansible/lib/ansible/plugins/test
Sam Doran 71e33d2578
version test - improve message when value is empty (#74754)
When an empty value is provided, no `version` attribute will exist on the `LooseVersion` or
`StrictVersion` object. We catch and handle this, but it's not immediatebly clear that an
AttributeError means an empty value was provided.

Specifically handle the case where value or version are empty and add more
helpful error messages.

Add integration tests.
2021-05-20 11:55:30 -04:00
..
__init__.py
core.py version test - improve message when value is empty (#74754) 2021-05-20 11:55:30 -04:00
files.py
mathstuff.py Add a new "contains" jinja2 test (#45798) 2018-11-07 14:49:00 -06:00