You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
role Add implicit role_complete block instead of role._eor (#72208) 4 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_attribute.py Clean up unit test boilerplate. 4 years ago
test_base.py Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
test_block.py Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
test_collectionsearch.py Make sure collection is a list if a str is given (#69081) 4 years ago
test_conditional.py Remove duplicate unit test (#71488) 4 years ago
test_helpers.py Make sure collection is a list if a str is given (#69081) 4 years ago
test_included_file.py Fix IncludedFile equality check (#69524) 4 years ago
test_play.py [playbook/play.py] Increase error test coverage (#74217) 4 years ago
test_play_context.py Split test_play_context_make_become_cmd into files (#68026) 5 years ago
test_playbook.py Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
test_taggable.py Update docs for --tags default, and add some tests (#70939) 4 years ago
test_task.py Provide better decryption errors for single vault values (#72362) 4 years ago