hass-core/tests/components/madvr/const.py
ilan 0a62a4459f
Add 100% test coverage to Madvr (#122350)
* feat: add 100% test coverage

* fix: dont patch logger

* fix: better names

* fix: use consts

* fix: use built in const
2024-07-23 18:06:26 +02:00

18 lines
461 B
Python

"""Constants for the MadVR tests."""
from homeassistant.const import CONF_HOST, CONF_PORT
MOCK_CONFIG = {
CONF_HOST: "192.168.1.1",
CONF_PORT: 44077,
}
MOCK_MAC = "00:11:22:33:44:55"
TEST_CON_ERROR = ConnectionError("Connection failed")
TEST_IMP_ERROR = NotImplementedError("Not implemented")
TEST_FAILED_ON = "Failed to turn on device"
TEST_FAILED_OFF = "Failed to turn off device"
TEST_FAILED_CMD = "Failed to send command"
TEST_COMMAND = "test"