File: test_qtbluetooth.py

package info (click to toggle)
python-qtpy 2.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 924 kB
  • sloc: python: 4,767; sh: 28; makefile: 19
file content (16 lines) | stat: -rw-r--r-- 571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import pytest

from qtpy.tests.utils import pytest_importorskip


def test_qtbluetooth():
    """Test the qtpy.QtBluetooth namespace"""
    QtBluetooth = pytest_importorskip("qtpy.QtBluetooth")

    assert QtBluetooth.QBluetooth is not None
    assert QtBluetooth.QBluetoothDeviceInfo is not None
    assert QtBluetooth.QBluetoothServer is not None
    assert QtBluetooth.QBluetoothSocket is not None
    assert QtBluetooth.QBluetoothAddress is not None
    assert QtBluetooth.QBluetoothUuid is not None
    assert QtBluetooth.QBluetoothServiceDiscoveryAgent is not None