(self)
| 254 | assert not os.path.exists(self.missing_link) |
| 255 | |
| 256 | def tearDown(self): |
| 257 | if os.path.exists(self.filelink): |
| 258 | os.remove(self.filelink) |
| 259 | if os.path.exists(self.dirlink): |
| 260 | os.rmdir(self.dirlink) |
| 261 | if os.path.lexists(self.missing_link): |
| 262 | os.remove(self.missing_link) |
| 263 | |
| 264 | def test_directory_link(self): |
| 265 | os.symlink(self.dirlink_target, self.dirlink) |