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

Method test_listdir_fnmatchstring

testing/_py/test_local.py:180–183  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

178 path1.join("samplefile").listdir()
179
180 def test_listdir_fnmatchstring(self, path1):
181 p = path1.listdir("s*dir")
182 assert len(p)
183 assert p[0], path1.join("sampledir")
184
185 def test_listdir_filter(self, path1):
186 p = path1.listdir(lambda x: x.check(dir=1))

Callers

nothing calls this directly

Calls 2

listdirMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected