1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Add integration tests for host (#8912)

This commit is contained in:
J. Nick Koston
2025-05-26 21:31:32 -05:00
committed by GitHub
parent 73771d5c50
commit 4ac433fddb
18 changed files with 749 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
"""Constants for integration tests."""
# Network constants
DEFAULT_API_PORT = 6053
LOCALHOST = "localhost"
# Timeout constants
API_CONNECTION_TIMEOUT = 30.0 # seconds
PORT_WAIT_TIMEOUT = 30.0 # seconds
PORT_POLL_INTERVAL = 0.1 # seconds
# Process shutdown timeouts
SIGINT_TIMEOUT = 5.0 # seconds
SIGTERM_TIMEOUT = 2.0 # seconds