def test_get_remote_shell_wraps_ssh_call_using_specified_ssh_user(self):
        get_remote_shell(self.vagrant_ssh_config, ssh_user='******')

        self.wrap_ssh_call.assert_called_once_with(
            self.vagrant_ssh_config, ssh_user='******'
        )
    def test_remote_remote_shell_gets_shell_and_returns_control_back_to_the_user(self):
        get_remote_shell(self.vagrant_ssh_config)

        self.system.assert_called_once_with(self.wrap_ssh_call.return_value)
    def test_get_remote_shell_wraps_ssh_call(self):
        get_remote_shell(self.vagrant_ssh_config)

        self.wrap_ssh_call.assert_called_once_with(
            self.vagrant_ssh_config, ssh_user=HYPERNODE_VAGRANT_DEFAULT_USER
        )