diff tests/test_push_renames.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 9a740cbb6895
children a36e87ae2380
line wrap: on
line diff
--- a/tests/test_push_renames.py
+++ b/tests/test_push_renames.py
@@ -4,10 +4,12 @@ import sys
 import unittest
 
 class TestPushRenames(test_util.TestBase):
+    obsolete_mode_tests = True
+    stupid_mode_tests = True
+
     def setUp(self):
         test_util.TestBase.setUp(self)
-        self.repo_path = self.load_and_fetch('pushrenames.svndump',
-                                             stupid=True)[1]
+        self.repo_path = self.load_and_fetch('pushrenames.svndump')[1]
 
     def _debug_print_copies(self, ctx):
         w = sys.stderr.write
@@ -113,9 +115,3 @@ class TestPushRenames(test_util.TestBase
             'This failure means rename of an entire tree is broken.'
             ' There is a print on the preceding line commented out '
             'that should help you.')
-
-
-def suite():
-    all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestPushRenames),
-          ]
-    return unittest.TestSuite(all_tests)