(self, path1)
| 201 | assert path1.sep.join(["sampledir", "otherfile"]) in lst |
| 202 | |
| 203 | def test_visit_norecurse(self, path1): |
| 204 | lst = [] |
| 205 | for i in path1.visit(None, lambda x: x.basename != "sampledir"): |
| 206 | lst.append(i.relto(path1)) |
| 207 | assert "sampledir" in lst |
| 208 | assert path1.sep.join(["sampledir", "otherfile"]) not in lst |
| 209 | |
| 210 | def test_visit_filterfunc_is_string(self, path1): |
| 211 | lst = [] |