Mercurial > hgsubversion
comparison tests/test_fetch_command_regexes.py @ 1044:d741f536f23a
tests: remove old test-loading infrastructure
(for those in the know, this is known as a suitectomy)
| author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
|---|---|
| date | Wed, 07 Aug 2013 16:00:52 +0200 |
| parents | 1d07e86f5797 |
| children |
comparison
equal
deleted
inserted
replaced
| 1043:69a9fb45cad5 | 1044:d741f536f23a |
|---|---|
| 1 import unittest | 1 import unittest |
| 2 | |
| 3 import test_util | |
| 2 | 4 |
| 3 from hgsubversion import stupid | 5 from hgsubversion import stupid |
| 4 | 6 |
| 5 | 7 |
| 6 two_empties = """Index: __init__.py | 8 two_empties = """Index: __init__.py |
| 139 + * | 141 + * |
| 140 """ | 142 """ |
| 141 changed = stupid.parsediff(data) | 143 changed = stupid.parsediff(data) |
| 142 self.assertEqual(['empty1', 'empty2', 'binary1', 'text1', 'binary2', 'text2'], | 144 self.assertEqual(['empty1', 'empty2', 'binary1', 'text1', 'binary2', 'text2'], |
| 143 [f.name for f in changed]) | 145 [f.name for f in changed]) |
| 144 | |
| 145 def suite(): | |
| 146 return unittest.TestLoader().loadTestsFromTestCase(RegexTests) |
