comparison tests/test_fetch_branches.py @ 201:883976b654b6

Be more explicit about which branch I'm checking.
author Augie Fackler <durin42@gmail.com>
date Mon, 02 Mar 2009 23:54:14 -0600
parents 91c818377703
children c0063328587f
comparison
equal deleted inserted replaced
200:2e8c527f0456 201:883976b654b6
33 def test_renamed_branch_to_trunk(self, stupid=False): 33 def test_renamed_branch_to_trunk(self, stupid=False):
34 repo = self._load_fixture_and_fetch('branch_rename_to_trunk.svndump', 34 repo = self._load_fixture_and_fetch('branch_rename_to_trunk.svndump',
35 stupid) 35 stupid)
36 self.assertEqual(node.hex(repo['default'].node()), 36 self.assertEqual(node.hex(repo['default'].node()),
37 '14d252aef315857df241dd3fa4bc7833b09bd2f5') 37 '14d252aef315857df241dd3fa4bc7833b09bd2f5')
38 self.assertEqual(repo['tip'].parents()[0].branch(), 'dev_branch') 38 self.assertEqual(repo['default'].parents()[0].branch(), 'dev_branch')
39 self.assertEqual(repo['old_trunk'].parents()[0].branch(), 'default') 39 self.assertEqual(repo['old_trunk'].parents()[0].branch(), 'default')
40 40
41 def test_renamed_branch_to_trunk_stupid(self): 41 def test_renamed_branch_to_trunk_stupid(self):
42 self.test_renamed_branch_to_trunk(stupid=True) 42 self.test_renamed_branch_to_trunk(stupid=True)
43 43