changeset 1069:f6c9394032cb

test_pull_fallback: use stupid mode metaclass
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Aug 2013 23:45:58 +0200
parents cd35f6739669
children 6aad12ea6d9f
files tests/test_pull_fallback.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_pull_fallback.py
+++ b/tests/test_pull_fallback.py
@@ -31,8 +31,9 @@ class TestPullFallback(test_util.TestBas
             'stupid.fetch_branchrev': 1,
         }
 
-        repo, repo_path = self._loadupdate(
-            'single_rev.svndump', stupid=True)
+        self.stupid = True
+        repo, repo_path = self._loadupdate('single_rev.svndump')
+        self.stupid = False
 
         # Passing stupid=True doesn't seem to be working - force it
         repo.ui.setconfig('hgsubversion', 'stupid', "true")