diff tests/test_utility_commands.py @ 887:f95c429124f3

make assertion failures slightly prettier and more readable
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sat, 12 May 2012 11:58:19 +0200
parents ce5837c64b12
children 3bfb7e985c47
line wrap: on
line diff
--- a/tests/test_utility_commands.py
+++ b/tests/test_utility_commands.py
@@ -258,7 +258,7 @@ class UtilityTests(test_util.TestBase):
         output = u.popbuffer()
         self.assertEqual(1, ret)
         output = re.sub(r'file://\S+', 'file://', output)
-        self.assertEqual("""\
+        self.assertMultiLineEqual("""\
 verifying d51f46a715a1 against file://
 difference in file binary2
 unexpected files: