home-assistant: update disabled tests and dependencies

This commit is contained in:
Martin Weinelt 2024-01-05 21:44:19 +01:00
parent c3393e3a4b
commit 94f7520bb6
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -5,45 +5,53 @@
let let
# some components' tests have additional dependencies # some components' tests have additional dependencies
extraCheckInputs = with home-assistant.python.pkgs; { extraCheckInputs = with home-assistant.python.pkgs; {
airzone_cloud = [ aioairzone ]; airzone_cloud = [
alexa = [ av ]; aioairzone
bluetooth = [ pyswitchbot ]; ];
bthome = [ xiaomi-ble ]; bluetooth = [
camera = [ av ]; pyswitchbot
cloud = [ mutagen ]; ];
config = [ pydispatcher ]; govee_ble = [
generic = [ av ]; ibeacon-ble
google_translate = [ mutagen ]; ];
google_sheets = [ oauth2client ]; lovelace = [
govee_ble = [ ibeacon-ble ]; pychromecast
hassio = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; ];
homeassistant_sky_connect = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zwave-js-server-python ]; matrix = [
homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; pydantic
lovelace = [ pychromecast ]; ];
matrix = [ pydantic ]; mopeka = [
mopeka = [ pyswitchbot ]; pyswitchbot
nest = [ av ]; ];
onboarding = [ pymetno radios rpi-bad-power ]; onboarding = [
otbr = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ]; pymetno
raspberry_pi = [ rpi-bad-power ]; radios
shelly = [ pyswitchbot ]; rpi-bad-power
tilt_ble = [ govee-ble ibeacon-ble ]; ];
tomorrowio = [ pyclimacell ]; raspberry_pi = [
version = [ aioaseko ]; rpi-bad-power
xiaomi_miio = [ arrow ]; ];
voicerss = [ mutagen ]; shelly = [
yandextts = [ mutagen ]; pyswitchbot
zha = [ pydeconz ]; ];
zwave_js = [ homeassistant-pyozw ]; tilt_ble = [
ibeacon-ble
];
xiaomi_miio = [
arrow
];
zha = [
pydeconz
];
}; };
extraDisabledTestPaths = { extraDisabledTestPaths = {
}; };
extraDisabledTests = { extraDisabledTests = {
mqtt = [ private_ble_device = [
# Assert None is not None # AssertionError: assert '90' == '90.0'
"test_handle_logging_on_writing_the_entity_state" "test_estimated_broadcast_interval"
]; ];
shell_command = [ shell_command = [
# tries to retrieve file from github # tries to retrieve file from github
@ -53,17 +61,9 @@ let
# missing operating_status attribute in entity # missing operating_status attribute in entity
"test_sensor_entities" "test_sensor_entities"
]; ];
vesync = [
# homeassistant.components.vesync:config_validation.py:863 The 'vesync' option has been removed, please remove it from your configuration
"test_async_get_config_entry_diagnostics__single_humidifier"
"test_async_get_device_diagnostics__single_fan"
];
}; };
extraPytestFlagsArray = { extraPytestFlagsArray = {
conversation = [
"--deselect tests/components/conversation/test_init.py::test_get_agent_list"
];
cloud = [ cloud = [
# Tries to connect to alexa-api.nabucasa.com:443 # Tries to connect to alexa-api.nabucasa.com:443
"--deselect tests/components/cloud/test_http_api.py::test_websocket_update_preferences_alexa_report_state" "--deselect tests/components/cloud/test_http_api.py::test_websocket_update_preferences_alexa_report_state"
@ -72,41 +72,16 @@ let
# Tries to resolve DNS entries # Tries to resolve DNS entries
"--deselect tests/components/dnsip/test_config_flow.py::test_options_flow" "--deselect tests/components/dnsip/test_config_flow.py::test_options_flow"
]; ];
history_stats = [
# Flaky: AssertionError: assert '0.0' == '12.0'
"--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
];
jellyfin = [ jellyfin = [
# AssertionError: assert 'audio/x-flac' == 'audio/flac' # AssertionError: assert 'audio/x-flac' == 'audio/flac'
"--deselect tests/components/jellyfin/test_media_source.py::test_resolve" "--deselect tests/components/jellyfin/test_media_source.py::test_resolve"
# AssertionError: assert [+ received] == [- snapshot] # AssertionError: assert [+ received] == [- snapshot]
"--deselect tests/components/jellyfin/test_media_source.py::test_music_library" "--deselect tests/components/jellyfin/test_media_source.py::test_music_library"
]; ];
modbus = [
# homeassistant.components.modbus.modbus:modbus.py:317 Pymodbus: modbusTest: Modbus Error: test connect exception
"--deselect tests/components/modbus/test_init.py::test_pymodbus_connect_fail"
];
modem_callerid = [ modem_callerid = [
# aioserial mock produces wrong state # aioserial mock produces wrong state
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry" "--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
]; ];
sonos = [
# KeyError: 'sonos_media_player'
"--deselect tests/components/sonos/test_init.py::test_async_poll_manual_hosts_warnings"
"--deselect tests/components/sonos/test_init.py::test_async_poll_manual_hosts_3"
];
unifiprotect = [
# "TypeError: object Mock can't be used in 'await' expression
"--deselect tests/components/unifiprotect/test_repairs.py::test_ea_warning_fix"
];
xiaomi_ble = [
# assert 0 == 1"
"--deselect tests/components/xiaomi_ble/test_sensor.py::test_xiaomi_consumable"
];
zha = [
"--deselect tests/components/zha/test_config_flow.py::test_formation_strategy_restore_manual_backup_non_ezsp"
"--deselect tests/components/zha/test_config_flow.py::test_formation_strategy_restore_automatic_backup_non_ezsp"
];
}; };
in lib.listToAttrs (map (component: lib.nameValuePair component ( in lib.listToAttrs (map (component: lib.nameValuePair component (
home-assistant.overridePythonAttrs (old: { home-assistant.overridePythonAttrs (old: {