Various phases: consistent format of failure message
composetracker expects the failure message to be in a specific form, but some phases weren't using it. They were phrasing it slightly differently, which throws off composetracker's parsing. We could extend composetracker to handle both forms, but it seems simpler to just make all the phases use a consistent form. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
949add0dac
commit
9f8377abab
6 changed files with 6 additions and 6 deletions
|
|
@ -230,7 +230,7 @@ class ImageContainerThreadTest(helpers.PungiTestCase):
|
|||
(self.compose, self.compose.variants["Server"], self.cfg.copy()), 1
|
||||
)
|
||||
|
||||
self.assertRegex(str(ctx.exception), r"task 12345 failed: see .+ for details")
|
||||
self.assertRegex(str(ctx.exception), r"task failed: 12345. See .+ for details")
|
||||
self.assertRepoFile()
|
||||
self.assertKojiCalls(self.cfg)
|
||||
self.assertEqual(add_metadata.call_args_list, [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue