Mercurial > hgsubversion
comparison tests/test_utility_commands.py @ 881:ce5837c64b12
svn verify: display extra and missing files separately
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Fri, 20 Apr 2012 17:58:55 +0200 |
parents | d4312a6f7a87 |
children | f95c429124f3 |
comparison
equal
deleted
inserted
replaced
880:d4312a6f7a87 | 881:ce5837c64b12 |
---|---|
259 self.assertEqual(1, ret) | 259 self.assertEqual(1, ret) |
260 output = re.sub(r'file://\S+', 'file://', output) | 260 output = re.sub(r'file://\S+', 'file://', output) |
261 self.assertEqual("""\ | 261 self.assertEqual("""\ |
262 verifying d51f46a715a1 against file:// | 262 verifying d51f46a715a1 against file:// |
263 difference in file binary2 | 263 difference in file binary2 |
264 missing files: binary1, binary3 | 264 unexpected files: |
265 binary1 | |
266 missing files: | |
267 binary3 | |
265 """, output) | 268 """, output) |
266 | 269 |
267 def suite(): | 270 def suite(): |
268 all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), | 271 all_tests = [unittest.TestLoader().loadTestsFromTestCase(UtilityTests), |
269 ] | 272 ] |