diff tests/test_fetch_command.py @ 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 903c9c9dfe6a
children 36a5fa6420a0
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)