1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Matt Martz 8c08d03989
Fieldattribute inheritance with defaults (#50891)
* Add tests for check_mode at play and task level

These test inheritance of check_mode from the various levels (command
line, as a play attribute and as a task attribute) so they will be
useful for checking that the change to fieldattribute inheritance with
defaults works

* Add a sentinel object

The Sentinel object can be used in place of None when we need to mark an
entry as being special (usually used to mark something as not having
been set)

* Start of using a Sentinel object instead of None.

* Handle edge cases around use of Sentinel

* _get_parent_attribute needs to deal in Sentinel not None

* No need to special case any_errors_fatal in task.py any longer

* Handle more edge cases around Sentinel

* Use Sentinel instead of None in TaskInclude

* Update code to clarify the vars we are copying are class attrs

* Add changelog fragment

* Use a default of Sentinel for delegate_to, this also allows 'delegate_to: ~' now to unset inherited delegate_to

* Explain Sentinel stripping in _extend_value

* Fix ModuleArgsParser tests to compare with Sentinel

* Fixes for tasks inside of roles inheriting from play

* Remove incorrect note. ci_complete

* Remove commented code
2019-01-23 11:40:07 -06:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
env Add env command to ansible-test and run in CI. (#50176) 2018-12-20 22:08:57 -08:00
integration Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
legacy Included support to AIX group of subsystems on service module (#33043) 2019-01-08 17:41:58 -05:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner ansible-test: add Ubuntu 18.04 container (#50790) 2019-01-22 10:30:35 +10:00
sanity docker_service: rename to docker_compose. (#51035) 2019-01-23 12:21:57 +00:00
units Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
utils Make Shippable timing script more resilient. 2019-01-17 00:03:38 -08:00