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

Method test_ensure_dir

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

Source from the content-addressed store, hash-verified

410 assert not p.check()
411
412 def test_ensure_dir(self, path1):
413 b = path1.ensure_dir("001", "002")
414 assert b.basename == "002"
415 assert b.isdir()
416
417 def test_mkdir_and_remove(self, path1):
418 tmpdir = path1

Callers

nothing calls this directly

Calls 2

ensure_dirMethod · 0.80
isdirMethod · 0.45

Tested by

no test coverage detected