adam.testing.FakeSSHClient#

class adam.testing.FakeSSHClient[source]#

A fake SSH client for testing purposes. It simulates the behavior of an SSH client by providing a context manager that returns a FakeSFTP instance.

__init__()[source]#

Methods

__init__()

close()

connect(ip_addr, username, password)

open_sftp()

set_missing_host_key_policy(policy)