ansible/test/units/module_utils/facts
Alexander Sowitzki 218f5c3648
user - Prevent user fact lookup failure if LOGNAME is set (#17029) (#73439)
The `UserFactCollector` queries the user login name via
`getpass.getuser()` and looks up the corresponding entry
in the password database.
The login name may differ from the actual user name,
eg. if the `LOGNAME` env variable is set. The lookup
fails in this case. Added a fallback in this case that
tries to get the entry via the user ID.
2021-02-02 10:36:02 -05:00
..
fixtures Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
hardware Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
network Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
other Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
system user - Prevent user fact lookup failure if LOGNAME is set (#17029) (#73439) 2021-02-02 10:36:02 -05:00
virtual facts - properly report virtualization facts for Linux guests on bhyve (#73204) 2021-01-14 10:53:03 -05:00
__init__.py
base.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_ansible_collector.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_collector.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_collectors.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_date_time.py Fix typos (#71970) 2020-09-28 14:33:24 -04:00
test_facts.py setup: Handle CIFS share with backward slash (#70006) 2020-06-30 16:09:35 -04:00
test_sysctl.py sysctl/openbsd fact fixes (#72070) 2020-10-02 18:36:31 -05:00
test_timeout.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_utils.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00