Commit 33986de5 authored by Romain Courteaud's avatar Romain Courteaud

Improve readability of results.

parent f785c119
...@@ -149,7 +149,13 @@ active_process.postResult(active_result) ...@@ -149,7 +149,13 @@ active_process.postResult(active_result)
'workflow_module', 'workflow_module',
]) ])
self.assertSameSet(expected_list, visited_list) diff = lambda l1,l2: [x for x in l1 if x not in l2]
result = ""
for x in diff(expected_list, visited_list):
result += "- %s\n" % x
for x in diff(visited_list, expected_list):
result += "+ %s\n" % x
self.assertSameSet(expected_list, visited_list, result)
class TestSlapOSAllocation(testSlapOSMixin): class TestSlapOSAllocation(testSlapOSMixin):
......
256 257
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment