Mercurial > hgsubversion
diff tests/test_fetch_truncated.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 | 312b37bc5e20 |
children | d741f536f23a |
line wrap: on
line diff
--- a/tests/test_fetch_truncated.py +++ b/tests/test_fetch_truncated.py @@ -8,8 +8,8 @@ from mercurial import hg class TestFetchTruncatedHistory(test_util.TestBase): def test_truncated_history(self, stupid=False): # Test repository does not follow the usual layout - test_util.load_svndump_fixture(self.repo_path, 'truncatedhistory.svndump') - svn_url = test_util.fileurl(self.repo_path + '/project2') + repo_path = self.load_svndump('truncatedhistory.svndump') + svn_url = test_util.fileurl(repo_path + '/project2') commands.clone(self.ui(stupid), svn_url, self.wc_path, noupdate=True) repo = hg.repository(self.ui(stupid), self.wc_path)