comparison tests/test_fetch_mappings.py @ 897:6bc8046e3d0a

move verify to a file of its own
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 13 May 2012 15:36:45 +0200
parents 50c13e01c7e3
children 7f90bb48c9de
comparison
equal deleted inserted replaced
896:04dfc23688b9 897:6bc8046e3d0a
10 from mercurial import node 10 from mercurial import node
11 from mercurial import util as hgutil 11 from mercurial import util as hgutil
12 12
13 from hgsubversion import maps 13 from hgsubversion import maps
14 from hgsubversion import svncommands 14 from hgsubversion import svncommands
15 from hgsubversion import verify
15 from hgsubversion import util 16 from hgsubversion import util
16 17
17 class MapTests(test_util.TestBase): 18 class MapTests(test_util.TestBase):
18 @property 19 @property
19 def authors(self): 20 def authors(self):
268 commands.clone(ui, test_util.fileurl(repo_path), 269 commands.clone(ui, test_util.fileurl(repo_path),
269 self.wc_path, branchmap=self.branchmap) 270 self.wc_path, branchmap=self.branchmap)
270 repo = self.repo 271 repo = self.repo
271 272
272 for r in repo: 273 for r in repo:
273 self.assertEquals(svncommands.verify(ui, repo, rev=r), 0) 274 self.assertEquals(verify.verify(ui, repo, rev=r), 0)
274 275
275 def test_branchmap_verify_stupid(self): 276 def test_branchmap_verify_stupid(self):
276 '''test verify on a branchmapped clone (stupid)''' 277 '''test verify on a branchmapped clone (stupid)'''
277 self.test_branchmap_verify(True) 278 self.test_branchmap_verify(True)
278 279