135 |
136 |
137 |
138 |
139 |
140 |
141 | |
def test_visit_nodotfiles(self): |
l = [] |
-> for i in self.root.visit(lambda x: x.check(dotfile=0)): |
l.append(i.relto(self.root)) |
assert "sampledir" in l |
assert self.root.sep.join(["sampledir", "otherfile"]) in l |
assert not ".dotfile" in l | |