(self, tmpdir)
| 1310 | assert linkpath.readlink() == str(filepath) |
| 1311 | |
| 1312 | def test_symlink_isfile(self, tmpdir): |
| 1313 | linkpath = tmpdir.join("test") |
| 1314 | filepath = tmpdir.join("file") |
| 1315 | filepath.write_text("", encoding="utf-8") |
| 1316 | linkpath.mksymlinkto(filepath) |
| 1317 | assert linkpath.check(file=1) |
| 1318 | assert not linkpath.check(link=0, file=1) |
| 1319 | assert linkpath.islink() |
| 1320 | |
| 1321 | def test_symlink_relative(self, tmpdir): |
| 1322 | linkpath = tmpdir.join("test") |
nothing calls this directly
no test coverage detected