File: test_init.py

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


def test_exports() -> None:
    """Test objects are available at top level of block_device."""
    assert hasattr(block_device, "BLOCK_VALUE_UNIT")
    assert hasattr(block_device, "COAP")
    assert hasattr(block_device, "Block")
    assert hasattr(block_device, "BlockDevice")
    assert hasattr(block_device, "BlockUpdateType")