def METHOD_NAME(self):
    # required=true, host_key_checking=accept
    context = self.stub_ssh(STUBSSH_MODE='ask', check_host_keys='accept')
    self.assertEqual('1', context.call(os.getenv, 'STDERR_WAS_TTY'))