Create a "directory" link to a non-existent target
(self)
| 276 | self.check_stat(self.filelink, self.filelink_target) |
| 277 | |
| 278 | def _create_missing_dir_link(self): |
| 279 | 'Create a "directory" link to a non-existent target' |
| 280 | linkname = self.missing_link |
| 281 | if os.path.lexists(linkname): |
| 282 | os.remove(linkname) |
| 283 | target = r'c:\\target does not exist.29r3c740' |
| 284 | assert not os.path.exists(target) |
| 285 | target_is_dir = True |
| 286 | os.symlink(target, linkname, target_is_dir) |
| 287 | |
| 288 | def test_remove_directory_link_to_missing_target(self): |
| 289 | self._create_missing_dir_link() |
no test coverage detected