def test_listdir(self):
l = self.root.listdir()
assert self.root.join('sampledir') in l
-> assert self.root.join('samplefile') in l
py.test.raises(py.error.ENOTDIR,
"self.root.join('samplefile').listdir()")