(self)
| 3099 | assert not os.path.exists(self.missing_link) |
| 3100 | |
| 3101 | def tearDown(self): |
| 3102 | if os.path.exists(self.filelink): |
| 3103 | os.remove(self.filelink) |
| 3104 | if os.path.exists(self.dirlink): |
| 3105 | os.rmdir(self.dirlink) |
| 3106 | if os.path.lexists(self.missing_link): |
| 3107 | os.remove(self.missing_link) |
| 3108 | |
| 3109 | def test_directory_link(self): |
| 3110 | os.symlink(self.dirlink_target, self.dirlink) |