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
Sam Doran cd473dfb2f
play - validate hosts entries (#74147)
* Change tests to pytest-style tests
* Add tests for invalid hosts
* Validate host inputs
  - check for empty values
  - check for None
  - check for values that are not a sequence and are not strings
  - add unit tests

* Move play name setting to get_name() and out of load()
* Add _validate_hosts() method
  By defining this method, it gets called automatically by FieldAttributeBase.validate().
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. 5 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) 5 years ago
test_conditional.py Remove duplicate unit test (#71488) 4 years ago
test_helpers.py Remove deprecated features from ansible.playbook.helpers (#74809) 4 years ago
test_included_file.py Fix IncludedFile equality check (#69524) 5 years ago
test_play.py play - validate hosts entries (#74147) 4 years ago
test_play_context.py Remove deprecated PlayContext.make_become_cmd (#74790) 4 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