(self, src, dst, real_dst)
| 2744 | create_file(self.src_file, b"spam") |
| 2745 | |
| 2746 | def _check_move_file(self, src, dst, real_dst): |
| 2747 | with open(src, "rb") as f: |
| 2748 | contents = f.read() |
| 2749 | shutil.move(src, dst) |
| 2750 | with open(real_dst, "rb") as f: |
| 2751 | self.assertEqual(contents, f.read()) |
| 2752 | self.assertFalse(os.path.exists(src)) |
| 2753 | |
| 2754 | def _check_move_dir(self, src, dst, real_dst): |
| 2755 | contents = sorted(os.listdir(src)) |
no test coverage detected