ansible/test/units/modules
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
..
__init__.py
conftest.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_apt.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_async_wrapper.py async_wrapper more info on end (#74199) 2021-04-13 10:30:13 -04:00
test_copy.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_hostname.py [hostname] don't write in get_*() methods 2021-05-27 13:15:52 +02:00
test_iptables.py Fix comment in iptables unit test (#74061) 2021-03-30 16:11:12 -04:00
test_known_hosts.py sanity: remove ansible-bad-function (#70431) 2020-07-07 11:46:28 -04:00
test_pip.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_service.py Solaris: Correct version check in svcadm_supports_sync API (#73860) 2021-04-10 08:02:58 +05:30
test_service_facts.py service_facts: return service state information on AIX (#72073) 2020-10-13 11:28:59 -04:00
test_systemd.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_yum.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
utils.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00