comparison tests/test_push_renames.py @ 1073:9a740cbb6895

test_push_renames: use metaclass stupid mode tests
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Aug 2013 23:46:00 +0200
parents 2d7398fffd0d
children a36e87ae2380
comparison
equal deleted inserted replaced
1072:23992b41b6b7 1073:9a740cbb6895
3 import sys 3 import sys
4 import unittest 4 import unittest
5 5
6 class TestPushRenames(test_util.TestBase): 6 class TestPushRenames(test_util.TestBase):
7 obsolete_mode_tests = True 7 obsolete_mode_tests = True
8 stupid_mode_tests = True
8 9
9 def setUp(self): 10 def setUp(self):
10 test_util.TestBase.setUp(self) 11 test_util.TestBase.setUp(self)
11 self.repo_path = self.load_and_fetch('pushrenames.svndump', 12 self.repo_path = self.load_and_fetch('pushrenames.svndump')[1]
12 stupid=True)[1]
13 13
14 def _debug_print_copies(self, ctx): 14 def _debug_print_copies(self, ctx):
15 w = sys.stderr.write 15 w = sys.stderr.write
16 for f in ctx.files(): 16 for f in ctx.files():
17 if f not in ctx: 17 if f not in ctx: