'Check the output of the list method on a file.'

def test_listFile(self):

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