changeset 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 d3ff5807f1bd
children c6388ed0ec0a
files tests/test_utility_commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: