# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1277293373 -7200 # Node ID 25714b4954b735b836d3462375b945204bfa88e5 # Parent 3e18cdcb6e00f3212d3f7d270e7acb494b7d04dc test_rebuildmeta: use just added diff support when comparing files. diff --git a/tests/test_rebuildmeta.py b/tests/test_rebuildmeta.py --- 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')))