(self, path1)
| 171 | assert not l2.relto(l1) |
| 172 | |
| 173 | def test_listdir(self, path1): |
| 174 | p = path1.listdir() |
| 175 | assert path1.join("sampledir") in p |
| 176 | assert path1.join("samplefile") in p |
| 177 | with pytest.raises(error.ENOTDIR): |
| 178 | path1.join("samplefile").listdir() |
| 179 | |
| 180 | def test_listdir_fnmatchstring(self, path1): |
| 181 | p = path1.listdir("s*dir") |