'Querying an invalid stat should result to a C{AttributeError}.'

def test_listWithInvalidStat(self):

    self.createDirectory('ned')
    d = self.shell.list(('.',), ('size', 'whateverstat'))
    return self.assertFailure(d, AttributeError)
