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

Method test_move_dir

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

Source from the content-addressed store, hash-verified

444 assert p.check()
445
446 def test_move_dir(self, path1):
447 source = path1.join("sampledir")
448 dest = path1.join("moveddir")
449 source.move(dest)
450 assert dest.check(dir=1)
451 assert dest.join("otherfile").check(file=1)
452 assert not source.join("sampledir").check()
453
454 def test_fspath_protocol_match_strpath(self, path1):
455 assert path1.__fspath__() == path1.strpath

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
moveMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected