summaryrefslogtreecommitdiffstats
path: root/tests/QtMultimedia
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-07-14 18:38:13 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-07-15 10:13:21 -0300
commitc62c36a64dd4c0fc0cd586c5c2b3d4f97ba3f769 (patch)
tree3fd5931f6ca6a3ff7eda1f60e0963cbae7c36243 /tests/QtMultimedia
parent28d0c480b15d566cabfb63dc6cc65697dc5b5edc (diff)
downloadpyside-c62c36a64dd4c0fc0cd586c5c2b3d4f97ba3f769.tar.gz
pyside-c62c36a64dd4c0fc0cd586c5c2b3d4f97ba3f769.tar.xz
pyside-c62c36a64dd4c0fc0cd586c5c2b3d4f97ba3f769.zip
Fix CMakeLists to include QtMultimedia tests + fix audio test.
Reviewer: Renato Ara├║jo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtMultimedia')
-rw-r--r--tests/QtMultimedia/audio_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/QtMultimedia/audio_test.py b/tests/QtMultimedia/audio_test.py
index 04d0a1e..0d8813d 100644
--- a/tests/QtMultimedia/audio_test.py
+++ b/tests/QtMultimedia/audio_test.py
@@ -10,6 +10,8 @@ class testAudioDevices(unittest.TestCase):
def testListDevices(self):
for devInfo in QAudioDeviceInfo.availableDevices(QAudio.AudioOutput):
+ if devInfo.deviceName() == 'null':
+ continue
fmt = QAudioFormat()
for codec in devInfo.supportedCodecs():
fmt.setCodec(codec)