Mercurial > hgsubversion
diff tests/test_rebuildmeta.py @ 347:537de0300510
Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 22 May 2009 15:12:31 +0200 |
parents | 46e69be8e2c8 |
children | 987bd7444f60 |
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py +++ b/tests/test_rebuildmeta.py @@ -2,14 +2,14 @@ import os import pickle import unittest +import test_util + from mercurial import hg from mercurial import ui from hgsubversion import svncommands from hgsubversion import hg_delta_editor -import test_util - def _do_case(self, name, stupid): subdir = test_util.subdir.get(name, '') self._load_fixture_and_fetch(name, subdir=subdir, stupid=stupid) @@ -69,6 +69,9 @@ def buildmethod(case, name, stupid): attrs = {'_do_case': _do_case, } for case in [f for f in os.listdir(test_util.FIXTURES) if f.endswith('.svndump')]: + # this fixture results in an empty repository, don't use it + if case == 'project_root_not_repo_root.svndump': + continue name = 'test_' + case[:-len('.svndump')] attrs[name] = buildmethod(case, name, False) name += '_stupid'