mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-20 11:17:16 +00:00

* Improve connection settings fixture Make the connection settings fixture behave more closely to the actual NetworkManager. The behavior has been tested with NetworkManager 1.42.4 (Debian 12) and 1.44.2 (HAOS 13.1). This likely behaves similar in older versions too. * Introduce separate skeleton and settings for wireless Instead of having a combined network settings object which has Ethernet and Wirless settings, create a separate settings object for wireless. * Handle addresses/address-data property like NetworkManager * Address ruff check * Improve network API test Add a test which changes from "static" to "auto". Validate that settings are updated accordingly. Specifically, today this does clear the DNS setting (by not providing the property). * ruff format * ruff check * Complete TEST_INTERFACE rename * Add partial network update as test case
9 lines
204 B
Python
9 lines
204 B
Python
"""Consts for tests."""
|
|
|
|
TEST_INTERFACE_ETH_NAME = "eth0"
|
|
TEST_INTERFACE_ETH_MAC = "AA:BB:CC:DD:EE:FF"
|
|
TEST_INTERFACE_WLAN_NAME = "wlan0"
|
|
TEST_WS_URL = "ws://test.org:3000"
|
|
|
|
TEST_ADDON_SLUG = "local_ssh"
|