(self)
| 49 | os.unlink(self.name_same_shallow) |
| 50 | |
| 51 | def test_matching(self): |
| 52 | self.assertTrue(filecmp.cmp(self.name, self.name), |
| 53 | "Comparing file to itself fails") |
| 54 | self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False), |
| 55 | "Comparing file to itself fails") |
| 56 | self.assertTrue(filecmp.cmp(self.name, self.name_same), |
| 57 | "Comparing file to identical file fails") |
| 58 | self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False), |
| 59 | "Comparing file to identical file fails") |
| 60 | self.assertTrue(filecmp.cmp(self.name, self.name_same_shallow), |
| 61 | "Shallow identical files should be considered equal") |
| 62 | |
| 63 | def test_different(self): |
| 64 | self.assertFalse(filecmp.cmp(self.name, self.name_diff), |
nothing calls this directly
no test coverage detected