Mercurial > hgsubversion
comparison tests/test_fetch_branches.py @ 473:45df4d9320fa
Fix 'parent dir of a branch is deleted' refactoring from 343da84.
author | Max Bowsher <maxb@f2s.com> |
---|---|
date | Sat, 04 Jul 2009 18:12:18 +0100 |
parents | f5222d021665 |
children | d17cec76e769 |
comparison
equal
deleted
inserted
replaced
472:ba65e97538d1 | 473:45df4d9320fa |
---|---|
114 self.assertEqual(mbranch, ['a']) | 114 self.assertEqual(mbranch, ['a']) |
115 | 115 |
116 def test_branches_weird_moves_stupid(self): | 116 def test_branches_weird_moves_stupid(self): |
117 self.test_branches_weird_moves(True) | 117 self.test_branches_weird_moves(True) |
118 | 118 |
119 def test_branch_delete_parent_dir(self, stupid=False): | |
120 repo = self._load_fixture_and_fetch('branch_delete_parent_dir.svndump', | |
121 stupid) | |
122 self.assertEqual(node.hex(repo['tip'].node()), | |
123 '4108a81a82c7925d5551091165dc54c41b06a8a8') | |
124 | |
119 def suite(): | 125 def suite(): |
120 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), | 126 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), |
121 ] | 127 ] |
122 return unittest.TestSuite(all) | 128 return unittest.TestSuite(all) |