Mercurial > hgsubversion
comparison tests/test_pull.py @ 1068:cd35f6739669
test_pull: use stupid mode metaclass
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 09 Aug 2013 23:45:57 +0200 |
parents | d741f536f23a |
children | 61d4fb78370b |
comparison
equal
deleted
inserted
replaced
1067:20850abfb91a | 1068:cd35f6739669 |
---|---|
12 def setUp(self): | 12 def setUp(self): |
13 super(TestPull, self).setUp() | 13 super(TestPull, self).setUp() |
14 | 14 |
15 def _loadupdate(self, fixture_name, *args, **kwargs): | 15 def _loadupdate(self, fixture_name, *args, **kwargs): |
16 kwargs = kwargs.copy() | 16 kwargs = kwargs.copy() |
17 kwargs.update(stupid=False, noupdate=False) | 17 kwargs.update(noupdate=False) |
18 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs) | 18 repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs) |
19 return repo, repo_path | 19 return repo, repo_path |
20 | 20 |
21 def test_nochanges(self): | 21 def test_nochanges(self): |
22 self._loadupdate('single_rev.svndump') | 22 self._loadupdate('single_rev.svndump') |