Mercurial > hgsubversion
comparison tests/test_hooks.py @ 1067:20850abfb91a
test_hooks: use stupid mode metaclass
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 09 Aug 2013 23:45:57 +0200 |
parents | d741f536f23a |
children | 4f1461428334 |
comparison
equal
deleted
inserted
replaced
1066:825fd4c0396c | 1067:20850abfb91a |
---|---|
9 def setUp(self): | 9 def setUp(self): |
10 super(TestHooks, self).setUp() | 10 super(TestHooks, self).setUp() |
11 | 11 |
12 def _loadupdate(self, fixture_name, *args, **kwargs): | 12 def _loadupdate(self, fixture_name, *args, **kwargs): |
13 kwargs = kwargs.copy() | 13 kwargs = kwargs.copy() |
14 kwargs.update(stupid=False, noupdate=False) | 14 kwargs.update(noupdate=False) |
15 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs) | 15 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs) |
16 return repo, repo_path | 16 return repo, repo_path |
17 | 17 |
18 def test_updatemetahook(self): | 18 def test_updatemetahook(self): |
19 repo, repo_path = self._loadupdate('single_rev.svndump') | 19 repo, repo_path = self._loadupdate('single_rev.svndump') |