File: test_init.py

package info (click to toggle)
python-aioshelly 13.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: python: 6,867; makefile: 7; sh: 3
file content (9 lines) | stat: -rw-r--r-- 328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from aioshelly import rpc_device


def test_exports() -> None:
    """Test objects are available at top level of rpc_device."""
    assert hasattr(rpc_device, "bluetooth_mac_from_primary_mac")
    assert hasattr(rpc_device, "RpcDevice")
    assert hasattr(rpc_device, "RpcUpdateType")
    assert hasattr(rpc_device, "WsServer")