Create a "directory" link to a non-existent target
(self)
| 3121 | self.check_stat(self.filelink, self.filelink_target) |
| 3122 | |
| 3123 | def _create_missing_dir_link(self): |
| 3124 | 'Create a "directory" link to a non-existent target' |
| 3125 | linkname = self.missing_link |
| 3126 | if os.path.lexists(linkname): |
| 3127 | os.remove(linkname) |
| 3128 | target = r'c:\\target does not exist.29r3c740' |
| 3129 | assert not os.path.exists(target) |
| 3130 | target_is_dir = True |
| 3131 | os.symlink(target, linkname, target_is_dir) |
| 3132 | |
| 3133 | def test_remove_directory_link_to_missing_target(self): |
| 3134 | self._create_missing_dir_link() |
no test coverage detected