MCPcopy
hub / github.com/pytest-dev/pytest / test_visit_rec_fnmatch

Method test_visit_rec_fnmatch

testing/_py/test_local.py:835–841  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

833 assert lst[2] == p3
834
835 def test_visit_rec_fnmatch(self, tmpdir):
836 p1 = tmpdir.ensure("a", "123")
837 tmpdir.ensure(".b", "345")
838 lst = list(tmpdir.visit("???", rec="[!.]*"))
839 assert len(lst) == 1
840 # check that breadth comes last
841 assert lst[0] == p1
842
843 def test_fnmatch_file_abspath(self, tmpdir):
844 b = tmpdir.join("a", "b")

Callers

nothing calls this directly

Calls 2

ensureMethod · 0.80
visitMethod · 0.80

Tested by

no test coverage detected