diff tests/test_single_dir_clone.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 cc1c870f1758
line wrap: on
line diff
--- a/tests/test_single_dir_clone.py
+++ b/tests/test_single_dir_clone.py
@@ -229,12 +229,11 @@ class TestSingleDir(test_util.TestBase):
     def test_push_single_dir_renamed_branch(self, stupid=False):
         # Tests pulling and pushing with a renamed branch
         # Based on test_push_single_dir
-        test_util.load_svndump_fixture(self.repo_path,
-                                       'branch_from_tag.svndump')
+        repo_path = self.load_svndump('branch_from_tag.svndump')
         cmd = ['clone', '--layout=single', '--branch=flaf']
         if stupid:
             cmd.append('--stupid')
-        cmd += [test_util.fileurl(self.repo_path), self.wc_path]
+        cmd += [test_util.fileurl(repo_path), self.wc_path]
         test_util.dispatch(cmd)
 
         def file_callback(repo, memctx, path):