From 85cd99fb26d6ca4208f171fa8f446b929a71098c Mon Sep 17 00:00:00 2001 From: Dan Villiom Podlaski Christiansen Date: Fri, 9 Aug 2013 20:18:31 +0200 Subject: [PATCH] test_fetch_commands: make a failure more readable --- tests/test_fetch_command.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_fetch_command.py b/tests/test_fetch_command.py index 69bd75578e..b72423a325 100644 --- 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)