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

Method test_symlink_isdir

testing/_py/test_local.py:1346–1350  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

1344 assert list(visitor) == [linkpath]
1345
1346 def test_symlink_isdir(self, tmpdir):
1347 linkpath = tmpdir.join("test")
1348 linkpath.mksymlinkto(tmpdir)
1349 assert linkpath.check(dir=1)
1350 assert not linkpath.check(link=0, dir=1)
1351
1352 def test_symlink_remove(self, tmpdir):
1353 linkpath = tmpdir.join("test")

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
mksymlinktoMethod · 0.80
checkMethod · 0.45

Tested by

no test coverage detected