ansible/test/units/playbook
Rick Elrod bd1acb74c8
[playbook/play.py] Increase error test coverage (#74217)
Change:
- Mostly increase error coverage for various conditions in play.py
- Also fix a string in an error, where get_name() was called before
  self.name was read in, so get_name() was always ''.

Test Plan:
- new tests

Signed-off-by: Rick Elrod <rick@elrod.me>

* Fix regex for py2 and py3

Signed-off-by: Rick Elrod <rick@elrod.me>

* py2 hates me

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-04-13 11:22:02 -04:00
..
role Add implicit role_complete block instead of role._eor (#72208) 2020-12-09 09:53:01 +01:00
__init__.py
test_attribute.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_base.py
test_block.py
test_collectionsearch.py
test_conditional.py Remove duplicate unit test (#71488) 2020-08-27 15:55:30 -04:00
test_helpers.py
test_included_file.py
test_play.py [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
test_play_context.py
test_playbook.py
test_taggable.py Update docs for --tags default, and add some tests (#70939) 2020-07-29 17:16:57 -05:00
test_task.py Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00