(self)
| 2863 | @os_helper.skip_unless_symlink |
| 2864 | @mock_rename |
| 2865 | def test_move_file_symlink_to_dir(self): |
| 2866 | filename = "bar" |
| 2867 | dst = os.path.join(self.src_dir, filename) |
| 2868 | os.symlink(self.src_file, dst) |
| 2869 | shutil.move(dst, self.dst_dir) |
| 2870 | final_link = os.path.join(self.dst_dir, filename) |
| 2871 | self.assertTrue(os.path.islink(final_link)) |
| 2872 | self.assertTrue(os.path.samefile(self.src_file, final_link)) |
| 2873 | |
| 2874 | @os_helper.skip_unless_symlink |
| 2875 | @mock_rename |
nothing calls this directly
no test coverage detected