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

Method test_basename

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

Source from the content-addressed store, hash-verified

89 assert newpath.basename == "sampledir"
90
91 def test_basename(self, path1):
92 newpath = path1.join("sampledir")
93 assert newpath.check(basename="sampledir")
94 assert newpath.basename, "sampledir"
95
96 def test_dirname(self, path1):
97 newpath = path1.join("sampledir")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected