ansible/test/units
Alex Willmer 185d410316
Factor out host_label() in default stdout callback plugin (#73814)
This simplifies rendering the hostname (or hostname+delegated host) in
the default callback module, and reduces code duplication

I've chosen not move where in each handler the host label is rendered,
in case subsequent operations has side effects. However I'm happy to
change that if considered safe.

I've chosen not to change the formatting operator used (%), to avoid
changes in rendering that might result.

Signed-off-by: Alex Willmer <alex@moreati.org.uk>
2021-04-16 11:12:25 -04:00
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test Overhaul ansible-test container management. 2021-04-12 12:40:36 -07:00
cli Clarify CLI version number as core version (#72287) 2021-03-01 11:14:56 -06:00
compat
config Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00
errors Fix YAML error message when error is at the end of the file (#73241) 2021-01-19 10:07:36 -05:00
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 2021-03-19 12:09:18 -07:00
galaxy add --offline option to galaxy collection verify (#74040) 2021-03-29 09:47:15 -07:00
inventory Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
inventory_test_data/group_vars
mock only add data when there is data to add (#54559) 2021-02-11 10:07:20 -05:00
module_utils Add epoch_int in date_time facts (#73822) 2021-04-16 11:03:07 -04:00
modules async_wrapper more info on end (#74199) 2021-04-13 10:30:13 -04:00
parsing vault: Read stdin data as binary on python3 (#52229) 2020-12-09 09:46:32 +01:00
playbook [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
plugins Factor out host_label() in default stdout callback plugin (#73814) 2021-04-16 11:12:25 -04:00
regex
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils Fixed/improved regular expresssion for collection names (#73577) 2021-03-01 10:40:38 -05:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
test_context.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00