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

Method test_add_something

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

Source from the content-addressed store, hash-verified

57 assert path1 == newpath
58
59 def test_add_something(self, path1):
60 p = path1.join("sample")
61 p = p + "dir"
62 assert p.check()
63 assert p.exists()
64 assert p.isdir()
65 assert not p.isfile()
66
67 def test_parts(self, path1):
68 newpath = path1.join("sampledir", "otherfile")

Callers

nothing calls this directly

Calls 5

joinMethod · 0.80
checkMethod · 0.45
existsMethod · 0.45
isdirMethod · 0.45
isfileMethod · 0.45

Tested by

no test coverage detected