'L{ConsoleUI.prompt} writes a message to the console, then reads a line.
If that line is \'no\', then it returns a L{Deferred} that fires with
False.'

def test_promptNo(self):

    for okNo in ['no', 'No', 'no\n']:
        self.newFile([okNo])
        l = []
        self.ui.prompt('Goodbye,    world!').addCallback(l.append)
        self.assertEqual(['Goodbye,    world!'], self.fakeFile.outchunks)
        self.assertEqual([False], l)
        self.assertTrue(self.fakeFile.closed)
