diff tests/test_hooks.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 20850abfb91a
children 4f1461428334
line wrap: on
line diff
--- a/tests/test_hooks.py
+++ b/tests/test_hooks.py
@@ -11,7 +11,7 @@ class TestHooks(test_util.TestBase):
 
     def _loadupdate(self, fixture_name, *args, **kwargs):
         kwargs = kwargs.copy()
-        kwargs.update(stupid=False, noupdate=False)
+        kwargs.update(noupdate=False)
         repo, repo_path = self.load_and_fetch(fixture_name, *args, **kwargs)
         return repo, repo_path
 
@@ -43,6 +43,3 @@ class TestHooks(test_util.TestBase):
         commands.pull(newrepo.ui, newrepo)
         hgsubversion.svncommands.updatemeta = oldupdatemeta
         self.assertTrue(self.called)
-
-def suite():
-    return unittest.findTestCases(sys.modules[__name__])