(self, src, dst, real_dst)
| 2718 | create_file(self.src_file, b"spam") |
| 2719 | |
| 2720 | def _check_move_file(self, src, dst, real_dst): |
| 2721 | with open(src, "rb") as f: |
| 2722 | contents = f.read() |
| 2723 | shutil.move(src, dst) |
| 2724 | with open(real_dst, "rb") as f: |
| 2725 | self.assertEqual(contents, f.read()) |
| 2726 | self.assertFalse(os.path.exists(src)) |
| 2727 | |
| 2728 | def _check_move_dir(self, src, dst, real_dst): |
| 2729 | contents = sorted(os.listdir(src)) |
no test coverage detected