From e98dcb0d5162b933a7b39f117cc18013d4dc64a4 Mon Sep 17 00:00:00 2001 From: John Kirkland <13470641+ghjpk@users.noreply.github.com> Date: Tue, 8 Oct 2019 15:41:59 -0500 Subject: [PATCH] Resolved issue #281 --- .../openlp_plugins/media/forms/test_mediaclipselectorform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py b/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py index 4b93f8e44..d270c25af 100644 --- a/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py +++ b/tests/interfaces/openlp_plugins/media/forms/test_mediaclipselectorform.py @@ -53,6 +53,8 @@ class TestMediaClipSelectorForm(TestCase, TestMixin): # Mock VLC so we don't actually use it self.vlc_patcher = patch('openlp.plugins.media.forms.mediaclipselectorform.get_vlc') self.vlc_patcher.start() + self.timer_patcher = patch('openlp.plugins.media.forms.mediaclipselectorform.QtCore.QTimer') + self.timer_patcher.start() Registry().register('application', self.app) # Mock the media item self.mock_media_item = MagicMock() @@ -71,6 +73,7 @@ class TestMediaClipSelectorForm(TestCase, TestMixin): """ del self.form self.vlc_patcher.stop() + self.timer_patcher.stop() del self.main_window def test_basic(self):