File: test_init.py

package info (click to toggle)
python-aiohue 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: python: 4,444; sh: 30; makefile: 5
file content (9 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
"""Test v1 bridge."""

from aiohue import HueBridgeV1


async def test_bridge_init():
    """Test v1 bridge."""
    bridge = HueBridgeV1("192.168.1.123", "mock-key")
    assert bridge.host == "192.168.1.123"