'If L{None} is passed for the C{ui} parameter to L{_NewConnectionHelper}
and /dev/tty is available, the L{ConsoleUI} used is associated with
/dev/tty.'

def test_ttyConsoleUI(self):

    tty = _PTYPath('yes')
    helper = _NewConnectionHelper(None, None, None, None, None, None, None, None, None, None, tty)
    result = self.successResultOf(helper.ui.prompt('does    this    work?'))
    self.assertTrue(result)
