ansible/test/units
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().
2021-06-17 15:32:56 -04:00
..
_vendor Another unit test fix for Python 3.10. (#74628) 2021-05-07 17:26:41 -07:00
ansible_test Remove Shippable CI provider from ansible-test. 2021-05-05 17:42:13 -07:00
cli ansible-cli: Remove unnessary trailing space (#74880) 2021-06-04 05:07:54 +10:00
compat
config Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00
errors Fix YAML error message when error is at the end of the file (#73241) 2021-01-19 10:07:36 -05:00
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 2021-03-19 12:09:18 -07:00
galaxy ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 2021-05-10 13:26:41 -04:00
inventory Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
inventory_test_data/group_vars
mock only add data when there is data to add (#54559) 2021-02-11 10:07:20 -05:00
module_utils get_distribution - Return distribution for all platforms (#71641) 2021-06-11 10:22:18 -04:00
modules get_distribution - Return distribution for all platforms (#71641) 2021-06-11 10:22:18 -04:00
parsing Remove PyCrypto (#74699) 2021-05-18 16:12:32 -04:00
playbook play - validate hosts entries (#74147) 2021-06-17 15:32:56 -04:00
plugins Add seed parameter to password lookup (#69775) 2021-06-04 12:20:44 -04:00
regex
template
utils encrypt: add new paramter 'ident' (#74595) 2021-05-24 11:46:37 -04:00
vars
__init__.py
requirements.txt Remove PyCrypto (#74699) 2021-05-18 16:12:32 -04:00
test_constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
test_context.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00