comparison tests/test_fetch_renames.py @ 130:c2a84d436202

test_fetch_rename: test content of files coming from the past
author Patrick Mezard <pmezard@gmail.com>
date Wed, 10 Dec 2008 11:03:22 -0600
parents a3b717e4abf5
children 3a9d6cd18332
comparison
equal deleted inserted replaced
129:59f8603a6641 130:c2a84d436202
51 if not cp: 51 if not cp:
52 continue 52 continue
53 self.assertEqual(cp[0], copymap[f][0]) 53 self.assertEqual(cp[0], copymap[f][0])
54 self.assertEqual(ctx[f].data(), copymap[f][1]) 54 self.assertEqual(ctx[f].data(), copymap[f][1])
55 55
56 self.assertEqual(repo['tip']['changed3'].data(), 'changed\nchanged3\n')
57
56 def test_rename(self): 58 def test_rename(self):
57 self._test_rename(False) 59 self._test_rename(False)
58 60
59 def test_rename_stupid(self): 61 def test_rename_stupid(self):
60 self._test_rename(True) 62 self._test_rename(True)