tests: pretty print the excuses so that they are readable

This commit is contained in:
Iain Lane 2015-11-18 13:36:23 +00:00
parent 41da740a98
commit 28fd7f5d6d

View File

@ -114,7 +114,7 @@ class TestAutoPkgTest(TestBase):
for src, (is_candidate, testmap) in expect_status.items():
self.assertEqual(excuses_dict[src]['is-candidate'], is_candidate,
src + ': ' + str(excuses_dict[src]))
src + ': ' + pprint.pformat(excuses_dict[src]))
for testsrc, archmap in testmap.items():
for arch, status in archmap.items():
self.assertEqual(excuses_dict[src]['tests']['autopkgtest'][testsrc][arch][0],