changeset 1051:c41e993f0892

test_fetch_commands: make a failure more readable
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Fri, 09 Aug 2013 20:18:31 +0200
parents fb0715c9347d
children 025de18d652b
files tests/test_fetch_command.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_fetch_command.py
+++ b/tests/test_fetch_command.py
@@ -267,8 +267,9 @@ o  changeset: 0:ab86791fc857
    tags:
    summary:   init
    files:     a dir/b
+
 """
-        self.assertEqual(refgraph.strip(), graph.strip())
+        self.assertMultiLineEqual(refgraph, graph)
 
     def test_fetch_revert_stupid(self):
         self.test_fetch_revert(stupid=True)
@@ -283,8 +284,9 @@ o  changeset: 0:02996a5980ba
    tags:      tip
    summary:   move to trunk
    files:     a dir/b
+
 """
-        self.assertEqual(refgraph.strip(), graph.strip())
+        self.assertMultiLineEqual(refgraph, graph)
 
     def test_fetch_movetotrunk_stupid(self):
         self.test_fetch_movetotrunk(stupid=True)