(self, path1)
| 331 | assert path1.sep.join([class="st">"sampledir", class="st">"otherfile"]) in p |
| 332 | |
| 333 | def test_visit_nodotfiles(self, path1): |
| 334 | p = [] |
| 335 | for i in path1.visit(lambda x: x.check(dotfile=0)): |
| 336 | p.append(i.relto(path1)) |
| 337 | assert class="st">"sampledir" in p |
| 338 | assert path1.sep.join([class="st">"sampledir", class="st">"otherfile"]) in p |
| 339 | assert class="st">".dotfile" not in p |
| 340 | |
| 341 | def test_visit_breadthfirst(self, path1): |
| 342 | lst = [] |