Mercurial > hgsubversion
diff tests/test_pull_fallback.py @ 1106:5cb6c95e0283 stable
Merge default and stable so I can do stable releases again.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 11 Feb 2014 12:48:49 -0500 |
parents | f6c9394032cb |
children | 4f1461428334 |
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") @@ -100,7 +101,3 @@ def _monkey_unpatch(to_patch, start=None def _patchbackend_raise(*p, **kw): raise mercurial.patch.PatchError("patch failed") - -def suite(): - import unittest, sys - return unittest.findTestCases(sys.modules[__name__])