tests: Fix remaining missing assertions
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
f21e3a2d6d
commit
6d6cf6e233
@ -328,7 +328,7 @@ class TestLiveMediaPhase(PungiTestCase):
|
||||
|
||||
phase = LiveMediaPhase(compose)
|
||||
|
||||
with self.assertRaisesRegex(RuntimeError, r'no.+Missing.+when building.+Server'):
|
||||
with self.assertRaisesRegexp(RuntimeError, r'no.+Missing.+when building.+Server'):
|
||||
phase.run()
|
||||
|
||||
@mock.patch('pungi.phases.livemedia_phase.ThreadPool')
|
||||
@ -353,7 +353,7 @@ class TestLiveMediaPhase(PungiTestCase):
|
||||
|
||||
phase = LiveMediaPhase(compose)
|
||||
|
||||
with self.assertRaisesRegex(RuntimeError, r'There is no variant Missing to get repo from.'):
|
||||
with self.assertRaisesRegexp(RuntimeError, r'There is no variant Missing to get repo from.'):
|
||||
phase.run()
|
||||
|
||||
@mock.patch('pungi.util.resolve_git_url')
|
||||
|
Loading…
Reference in New Issue
Block a user