ansible/test/units
Rick Elrod 8a0abed1ba [hostname] don't write in get_*() methods
Change:
- Hostname strategies' get_*() methods should never write to the
  filesystem. They are used in check_mode by default to determine if
  there is any work to be done.

Test Plan:
- New unit tests to ensure that (at least when in check_mode) the get
  methods don't ever call write.

Tickets:
- Fixes #66432

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-05-27 13:15:52 +02: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 Better handling of rstisms in ansible-doc (#74596) 2021-05-11 11:31:20 -04: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 Don't mutate os.environ in AnsibleModule.run_command, make a copy, and pass to Popen (#74791) 2021-05-25 12:00:47 -04:00
modules [hostname] don't write in get_*() methods 2021-05-27 13:15:52 +02:00
parsing Remove PyCrypto (#74699) 2021-05-18 16:12:32 -04:00
playbook Remove deprecated features from ansible.playbook.helpers (#74809) 2021-05-25 11:35:17 -04:00
plugins Remove deprecated PlayContext.make_become_cmd (#74790) 2021-05-25 11:03:55 -04:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils encrypt: add new paramter 'ident' (#74595) 2021-05-24 11:46:37 -04:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__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