mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 11:21:31 +00:00
tests: pretty print the excuses so that they are readable
This commit is contained in:
parent
41da740a98
commit
28fd7f5d6d
@ -114,7 +114,7 @@ class TestAutoPkgTest(TestBase):
|
|||||||
|
|
||||||
for src, (is_candidate, testmap) in expect_status.items():
|
for src, (is_candidate, testmap) in expect_status.items():
|
||||||
self.assertEqual(excuses_dict[src]['is-candidate'], is_candidate,
|
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 testsrc, archmap in testmap.items():
|
||||||
for arch, status in archmap.items():
|
for arch, status in archmap.items():
|
||||||
self.assertEqual(excuses_dict[src]['tests']['autopkgtest'][testsrc][arch][0],
|
self.assertEqual(excuses_dict[src]['tests']['autopkgtest'][testsrc][arch][0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user