mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-05-29 14:16:28 +00:00
12 lines
301 B
Python
12 lines
301 B
Python
"""Test supported features."""
|
|
# pylint: disable=protected-access
|
|
|
|
|
|
def test_supported_features(coresys):
|
|
"""Test host features."""
|
|
assert "network" in coresys.host.supported_features
|
|
|
|
coresys._dbus.network.is_connected = False
|
|
|
|
assert "network" not in coresys.host.supported_features
|