Mercurial > hgsubversion
comparison tests/test_fetch_command_regexes.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 | d741f536f23a |
children |
comparison
equal
deleted
inserted
replaced
1020:b5b1fce26f1f | 1106:5cb6c95e0283 |
---|---|
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) |