18 lines
580 B
Python
18 lines
580 B
Python
from __future__ import absolute_import
|
|
import os
|
|
import sys
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.skipif(os.name == 'nt' and sys.version_info[:2] == (3, 5),
|
|
reason="Conda packages don't seem to include QtMultimedia")
|
|
def test_qtmultimedia():
|
|
"""Test the qtpy.QtMultimedia namespace"""
|
|
from qtpy import QtMultimedia
|
|
|
|
assert QtMultimedia.QAbstractVideoBuffer is not None
|
|
assert QtMultimedia.QAudio is not None
|
|
assert QtMultimedia.QAudioDeviceInfo is not None
|
|
assert QtMultimedia.QAudioInput is not None
|
|
assert QtMultimedia.QSound is not None
|