Files
core/tests/components/pterodactyl/const.py
elmurato 3eb0c8ddff Add Pterodactyl binary sensor tests (#142401)
* 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
2025-05-18 16:46:11 +02:00

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,
}