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

Method test_fnmatch_file

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

Source from the content-addressed store, hash-verified

132 assert path1.join("samplefile").isfile()
133
134 def test_fnmatch_file(self, path1):
135 assert path1.join("samplefile").check(fnmatch="s*e")
136 assert path1.join("samplefile").fnmatch("s*e")
137 assert not path1.join("samplefile").fnmatch("s*x")
138 assert not path1.join("samplefile").check(fnmatch="s*x")
139
140 # def test_fnmatch_dir(self, path1):
141

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
checkMethod · 0.45
fnmatchMethod · 0.45

Tested by

no test coverage detected