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:
14
tests/integration/const.py
Normal file
14
tests/integration/const.py
Normal 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
|
Reference in New Issue
Block a user