1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-21 18:38:17 +00:00
Files
core/tests/components/vodafone_station/const.py
2026-01-13 13:57:59 +01:00

31 lines
713 B
Python

"""Common stuff for Vodafone Station tests."""
from io import BytesIO
from aiovodafone.models import DeviceType
DEVICE_1_HOST = "WifiDevice0"
DEVICE_1_MAC = "xx:xx:xx:xx:xx:xx"
DEVICE_2_HOST = "LanDevice1"
DEVICE_2_MAC = "yy:yy:yy:yy:yy:yy"
TEST_HOST = "fake_host"
TEST_PASSWORD = "fake_password"
TEST_TYPE = DeviceType.SERCOMM
TEST_URL = f"https://{TEST_HOST}"
TEST_USERNAME = "fake_username"
TEST_SERIAL_NUMBER = "m123456789"
TEST_WIFI_DATA: dict = {
"guest": {
"on": 1,
"ssid": "Wifi-Guest",
"qr_code": BytesIO(b"fake-qr-code-guest"),
},
"guest_5g": {
"on": 0,
"ssid": "Wifi-Guest-5Ghz",
"qr_code": BytesIO(b"fake-qr-code-guest-5ghz"),
},
}