From 6d6cf6e2333d9b9271dbdd8a3964bc05fabb02c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 30 Oct 2017 09:29:28 +0100 Subject: [PATCH] tests: Fix remaining missing assertions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- tests/test_livemediaphase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_livemediaphase.py b/tests/test_livemediaphase.py index 4cde3750..e67bceaa 100644 --- a/tests/test_livemediaphase.py +++ b/tests/test_livemediaphase.py @@ -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')