Fix vlc test

This commit is contained in:
Tomas Groth 2015-04-29 09:13:01 +02:00
parent d4b2148727
commit cc5aba2008

View File

@ -25,9 +25,9 @@ Module to test the MediaClipSelectorForm.
import os import os
from unittest import TestCase, SkipTest from unittest import TestCase, SkipTest
from openlp.core.ui.media.vlcplayer import VLC_AVAILABLE from openlp.core.ui.media.vlcplayer import get_vlc
if os.name == 'nt' and not VLC_AVAILABLE: if os.name == 'nt' and not get_vlc():
raise SkipTest('Windows without VLC, skipping this test since it cannot run without vlc') raise SkipTest('Windows without VLC, skipping this test since it cannot run without vlc')
from PyQt4 import QtGui, QtTest, QtCore from PyQt4 import QtGui, QtTest, QtCore