summaryrefslogtreecommitdiff
path: root/tests/comprehensive/test_stupid_pull.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/comprehensive/test_stupid_pull.py')
-rw-r--r--tests/comprehensive/test_stupid_pull.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/comprehensive/test_stupid_pull.py b/tests/comprehensive/test_stupid_pull.py
index 466d460..17e8122 100644
--- a/tests/comprehensive/test_stupid_pull.py
+++ b/tests/comprehensive/test_stupid_pull.py
@@ -19,11 +19,12 @@ from hgsubversion import wrappers
def _do_case(self, name, layout):
subdir = test_util.subdir.get(name, '')
- self._load_fixture_and_fetch(name, subdir=subdir, stupid=False, layout=layout)
+ repo, repo_path = self.load_and_fetch(name, subdir=subdir, stupid=False,
+ layout=layout)
assert len(self.repo) > 0, 'Repo had no changes, maybe you need to add a subdir entry in test_util?'
wc2_path = self.wc_path + '_stupid'
u = ui.ui()
- checkout_path = self.repo_path
+ checkout_path = repo_path
if subdir:
checkout_path += '/' + subdir
u.setconfig('hgsubversion', 'stupid', '1')