comparison tests/test_fetch_command.py @ 866:20e73b5ab6f7

test_util: merge load_svndump_fixture() into TestBase
author Patrick Mezard <patrick@mezard.eu>
date Thu, 19 Apr 2012 18:29:28 +0200
parents 04729f3a3d17
children 312f36a425f0
comparison
equal deleted inserted replaced
865:04729f3a3d17 866:20e73b5ab6f7
150 150
151 def test_fetch_when_trunk_has_no_files_stupid(self): 151 def test_fetch_when_trunk_has_no_files_stupid(self):
152 self.test_fetch_when_trunk_has_no_files(stupid=True) 152 self.test_fetch_when_trunk_has_no_files(stupid=True)
153 153
154 def test_path_quoting(self, stupid=False): 154 def test_path_quoting(self, stupid=False):
155 test_util.load_svndump_fixture(self.repo_path, 155 repo_path = self.load_svndump('non_ascii_path_1.svndump')
156 'non_ascii_path_1.svndump')
157 subdir = '/b\xC3\xB8b' 156 subdir = '/b\xC3\xB8b'
158 quoted_subdir = urllib.quote(subdir) 157 quoted_subdir = urllib.quote(subdir)
159 158
160 repo_url = test_util.fileurl(self.repo_path) 159 repo_url = test_util.fileurl(repo_path)
161 wc_path = self.wc_path 160 wc_path = self.wc_path
162 wc2_path = wc_path + '-2' 161 wc2_path = wc_path + '-2'
163 162
164 ui = self.ui(stupid=stupid) 163 ui = self.ui(stupid=stupid)
165 164