Lines Matching refs:filecmp
1 import filecmp
30 self.assertTrue(filecmp.cmp(self.name, self.name),
32 self.assertTrue(filecmp.cmp(self.name, self.name, shallow=False),
34 self.assertTrue(filecmp.cmp(self.name, self.name_same),
36 self.assertTrue(filecmp.cmp(self.name, self.name_same, shallow=False),
40 self.assertFalse(filecmp.cmp(self.name, self.name_diff),
42 self.assertFalse(filecmp.cmp(self.name, self.dir),
46 first_compare = filecmp.cmp(self.name, self.name_same, shallow=False)
47 second_compare = filecmp.cmp(self.name, self.name_diff, shallow=False)
48 filecmp.clear_cache()
49 self.assertTrue(len(filecmp._cache) == 0,
83 self.assertIn('.hg', filecmp.DEFAULT_IGNORES)
86 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir, ['file']) ==
89 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir_same, ['file']) ==
94 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir, ['file'],
98 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir_same, ['file'],
106 self.assertFalse(filecmp.cmpfiles(self.dir, self.dir_same,
115 d = filecmp.dircmp(left_dir, right_dir)
135 d = filecmp.dircmp(left_dir, right_dir)
158 d = filecmp.dircmp(left_dir, right_dir)
178 d = filecmp.dircmp(self.dir, self.dir_diff)
190 d = filecmp.dircmp(left_dir, right_dir)
199 d = filecmp.dircmp(left_dir, right_dir)