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
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().
5 years ago
..
_vendor Another unit test fix for Python 3.10. (#74628) 5 years ago
ansible_test Remove Shippable CI provider from ansible-test. 5 years ago
cli ansible-cli: Remove unnessary trailing space (#74880) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config Provide better decryption errors for single vault values (#72362) 5 years ago
errors Fix YAML error message when error is at the end of the file (#73241) 5 years ago
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 5 years ago
galaxy ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 5 years ago
inventory Clean up unit test boilerplate. 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock only add data when there is data to add (#54559) 5 years ago
module_utils get_distribution - Return distribution for all platforms (#71641) 5 years ago
modules get_distribution - Return distribution for all platforms (#71641) 5 years ago
parsing Remove PyCrypto (#74699) 5 years ago
playbook play - validate hosts entries (#74147) 5 years ago
plugins Add seed parameter to password lookup (#69775) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 6 years ago
utils encrypt: add new paramter 'ident' (#74595) 5 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
requirements.txt Remove PyCrypto (#74699) 5 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 6 years ago
test_context.py Clean up unit test boilerplate. 6 years ago