Mercurial > hgsubversion
comparison tests/test_diff.py @ 851:9ce00cb1d676
Merge alternate tunnel schemes.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 25 Feb 2012 14:51:22 -0600 |
parents | 312b37bc5e20 |
children | d741f536f23a |
comparison
equal
deleted
inserted
replaced
850:d3bc067c0f72 | 851:9ce00cb1d676 |
---|---|
31 self.commitchanges([('foo', 'foo', 'This is missing a newline.'), | 31 self.commitchanges([('foo', 'foo', 'This is missing a newline.'), |
32 ('alpha', 'alpha', 'alpha\n\nadded line\n'), | 32 ('alpha', 'alpha', 'alpha\n\nadded line\n'), |
33 ]) | 33 ]) |
34 u = ui.ui() | 34 u = ui.ui() |
35 u.pushbuffer() | 35 u.pushbuffer() |
36 wrappers.diff(lambda x,y,z: None, u, self.repo, svn=True) | 36 wrappers.diff(lambda x, y, z: None, u, self.repo, svn=True) |
37 self.assertEqual(u.popbuffer(), expected_diff_output) | 37 self.assertEqual(u.popbuffer(), expected_diff_output) |
38 | 38 |
39 | 39 |
40 def suite(): | 40 def suite(): |
41 all = [unittest.TestLoader().loadTestsFromTestCase(DiffTests), | 41 all_tests = [unittest.TestLoader().loadTestsFromTestCase(DiffTests), |
42 ] | 42 ] |
43 return unittest.TestSuite(all) | 43 return unittest.TestSuite(all_tests) |