mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
When building in automated build systems, there are sometimes cases where the user doing the building does not have a .ssh directory. In this case, we need to mock out some os.path functions so that the add_host_key() function we're testing won't complain or try to create one.