From 71874302d061e76c52b9c881ccd5263645257119 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sun, 23 Feb 2020 23:15:56 -0700 Subject: [PATCH] Skip a non-macOS test which is failing on macOS --- tests/functional/openlp_core/ui/media/test_vlcplayer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional/openlp_core/ui/media/test_vlcplayer.py b/tests/functional/openlp_core/ui/media/test_vlcplayer.py index 6705ac637..5d6ddb21b 100644 --- a/tests/functional/openlp_core/ui/media/test_vlcplayer.py +++ b/tests/functional/openlp_core/ui/media/test_vlcplayer.py @@ -25,8 +25,10 @@ import os import sys import pytest from datetime import timedelta +from unittest import skipIf from unittest.mock import MagicMock, call, patch +from openlp.core.common import is_macosx from openlp.core.common.registry import Registry from openlp.core.ui.media import ItemMediaInfo, MediaState, MediaType from openlp.core.ui.media.vlcplayer import VlcPlayer, get_vlc @@ -44,6 +46,7 @@ def vlc_env(): MockDateTime.revert() +@skipIf(is_macosx(), 'Test doesn\'t apply to macOS') @patch.dict(os.environ) @patch('openlp.core.ui.media.vlcplayer.is_macosx') def test_not_osx_fix_vlc_22_plugin_path(mocked_is_macosx):