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().
3 years ago
..
role
__init__.py
test_attribute.py
test_base.py
test_block.py
test_collectionsearch.py
test_conditional.py
test_helpers.py Remove deprecated features from ansible.playbook.helpers (#74809) 4 years ago
test_included_file.py
test_play.py play - validate hosts entries (#74147) 3 years ago
test_play_context.py Remove deprecated PlayContext.make_become_cmd (#74790) 4 years ago
test_playbook.py
test_taggable.py
test_task.py