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/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>
5 years ago
..
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py Clean up unit test boilerplate. 6 years ago
test_apt.py Clean up unit test boilerplate. 6 years ago
test_async_wrapper.py async_wrapper more info on end (#74199) 5 years ago
test_copy.py Clean up unit test boilerplate. 6 years ago
test_hostname.py [hostname] don't write in get_*() methods 5 years ago
test_iptables.py Fix comment in iptables unit test (#74061) 5 years ago
test_known_hosts.py sanity: remove ansible-bad-function (#70431) 6 years ago
test_pip.py Clean up unit test boilerplate. 6 years ago
test_service.py Solaris: Correct version check in svcadm_supports_sync API (#73860) 5 years ago
test_service_facts.py service_facts: return service state information on AIX (#72073) 5 years ago
test_systemd.py Clean up unit test boilerplate. 6 years ago
test_yum.py Clean up unit test boilerplate. 6 years ago
utils.py Clean up unit test boilerplate. 6 years ago