mirror of
https://github.com/home-assistant/core.git
synced 2025-10-26 03:59:32 +00:00
* Add binary sensor tests * Wait for background tasks as well in test_binary_sensor_update_failure * Fix module docstring * Use snapshot_platform, move constants to const.py, do not use snapshot for testing state updates * Use JSON fixtures * Use helper for loading JSON fixtures, remove unneeded mock in setup_integration * Move mocks to pytest markers where possible
13 lines
249 B
Python
13 lines
249 B
Python
"""Constants for Pterodactyl tests."""
|
|
|
|
from homeassistant.const import CONF_API_KEY, CONF_URL
|
|
|
|
TEST_URL = "https://192.168.0.1:8080/"
|
|
|
|
TEST_API_KEY = "TestClientApiKey"
|
|
|
|
TEST_USER_INPUT = {
|
|
CONF_URL: TEST_URL,
|
|
CONF_API_KEY: TEST_API_KEY,
|
|
}
|