'Check the output of the list method.'

def test_list(self):

    self.createDirectory('ned')
    self.createFile('file.txt')
    d = self.shell.list(('.',))
    def cb(l):
        l.sort()
        self.assertEqual(l, [('file.txt', []), ('ned', [])])
    return d.addCallback(cb)
