ansible/test/units/playbook
Rick Elrod bd1acb74c8
[playbook/play.py] Increase error test coverage ()
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 () 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 Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_block.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
test_collectionsearch.py Make sure collection is a list if a str is given () 2020-04-28 10:47:11 -05:00
test_conditional.py Remove duplicate unit test () 2020-08-27 15:55:30 -04:00
test_helpers.py Make sure collection is a list if a str is given () 2020-04-28 10:47:11 -05:00
test_included_file.py Fix IncludedFile equality check () 2020-06-04 10:41:46 -05:00
test_play.py [playbook/play.py] Increase error test coverage () 2021-04-13 11:22:02 -04:00
test_play_context.py Split test_play_context_make_become_cmd into files () 2020-03-04 22:26:04 -08:00
test_playbook.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
test_taggable.py Update docs for --tags default, and add some tests () 2020-07-29 17:16:57 -05:00
test_task.py Provide better decryption errors for single vault values () 2020-11-18 14:25:32 -06:00