changeset 622:25714b4954b7

test_rebuildmeta: use just added diff support when comparing files.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 23 Jun 2010 13:42:53 +0200
parents 3e18cdcb6e00
children 587061d41445
files tests/test_rebuildmeta.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_rebuildmeta.py
+++ b/tests/test_rebuildmeta.py
@@ -35,9 +35,7 @@ def _do_case(self, name, stupid, single)
         dtf = os.path.join(dest.path, 'svn', tf)
         self.assertTrue(os.path.isfile(dtf), '%r is missing!' % tf)
         old, new = open(stf).read(), open(dtf).read()
-        # uncomment next line for easy-ish debugging.
-        # os.system('diff -u %s %s' % (stf, dtf))
-        self.assertEqual(old, new)
+        self.assertMultiLineEqual(old, new)
         self.assertEqual(src.branchtags(), dest.branchtags())
     srcbi = pickle.load(open(os.path.join(src.path, 'svn', 'branch_info')))
     destbi = pickle.load(open(os.path.join(dest.path, 'svn', 'branch_info')))