comparison tests/test_fetch_command.py @ 257:ffccf0080e54

Move wrappers for hg commands to their own module.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Apr 2009 22:38:29 -0500
parents f8e9b74df403
children d978192f0d63
comparison
equal deleted inserted replaced
256:7932d098cb5f 257:ffccf0080e54
143 def test_entry_deletion_stupid(self): 143 def test_entry_deletion_stupid(self):
144 self.test_entry_deletion(stupid=True) 144 self.test_entry_deletion(stupid=True)
145 145
146 def test_fetch_when_trunk_has_no_files(self, stupid=False): 146 def test_fetch_when_trunk_has_no_files(self, stupid=False):
147 repo = self._load_fixture_and_fetch('file_not_in_trunk_root.svndump', stupid=stupid) 147 repo = self._load_fixture_and_fetch('file_not_in_trunk_root.svndump', stupid=stupid)
148 print repo['tip'].branch()
149 print repo['tip']
150 print repo['tip'].files()
151 self.assertEqual(repo['tip'].branch(), 'default') 148 self.assertEqual(repo['tip'].branch(), 'default')
152 149
153 def test_fetch_when_trunk_has_no_files_stupid(self): 150 def test_fetch_when_trunk_has_no_files_stupid(self):
154 self.test_fetch_when_trunk_has_no_files(stupid=True) 151 self.test_fetch_when_trunk_has_no_files(stupid=True)
155 152