tests: pretty print the excuses so that they are readable

bzr-import-20160707
Iain Lane 9 years ago
parent 41da740a98
commit 28fd7f5d6d

@ -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],

Loading…
Cancel
Save