mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
home-assistant: update disabled tests and dependencies
This commit is contained in:
parent
c3393e3a4b
commit
94f7520bb6
@ -5,45 +5,53 @@
|
||||
let
|
||||
# some components' tests have additional dependencies
|
||||
extraCheckInputs = with home-assistant.python.pkgs; {
|
||||
airzone_cloud = [ aioairzone ];
|
||||
alexa = [ av ];
|
||||
bluetooth = [ pyswitchbot ];
|
||||
bthome = [ xiaomi-ble ];
|
||||
camera = [ av ];
|
||||
cloud = [ mutagen ];
|
||||
config = [ pydispatcher ];
|
||||
generic = [ av ];
|
||||
google_translate = [ mutagen ];
|
||||
google_sheets = [ oauth2client ];
|
||||
govee_ble = [ ibeacon-ble ];
|
||||
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 ];
|
||||
homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
|
||||
lovelace = [ pychromecast ];
|
||||
matrix = [ pydantic ];
|
||||
mopeka = [ pyswitchbot ];
|
||||
nest = [ av ];
|
||||
onboarding = [ pymetno radios rpi-bad-power ];
|
||||
otbr = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
|
||||
raspberry_pi = [ rpi-bad-power ];
|
||||
shelly = [ pyswitchbot ];
|
||||
tilt_ble = [ govee-ble ibeacon-ble ];
|
||||
tomorrowio = [ pyclimacell ];
|
||||
version = [ aioaseko ];
|
||||
xiaomi_miio = [ arrow ];
|
||||
voicerss = [ mutagen ];
|
||||
yandextts = [ mutagen ];
|
||||
zha = [ pydeconz ];
|
||||
zwave_js = [ homeassistant-pyozw ];
|
||||
airzone_cloud = [
|
||||
aioairzone
|
||||
];
|
||||
bluetooth = [
|
||||
pyswitchbot
|
||||
];
|
||||
govee_ble = [
|
||||
ibeacon-ble
|
||||
];
|
||||
lovelace = [
|
||||
pychromecast
|
||||
];
|
||||
matrix = [
|
||||
pydantic
|
||||
];
|
||||
mopeka = [
|
||||
pyswitchbot
|
||||
];
|
||||
onboarding = [
|
||||
pymetno
|
||||
radios
|
||||
rpi-bad-power
|
||||
];
|
||||
raspberry_pi = [
|
||||
rpi-bad-power
|
||||
];
|
||||
shelly = [
|
||||
pyswitchbot
|
||||
];
|
||||
tilt_ble = [
|
||||
ibeacon-ble
|
||||
];
|
||||
xiaomi_miio = [
|
||||
arrow
|
||||
];
|
||||
zha = [
|
||||
pydeconz
|
||||
];
|
||||
};
|
||||
|
||||
extraDisabledTestPaths = {
|
||||
};
|
||||
|
||||
extraDisabledTests = {
|
||||
mqtt = [
|
||||
# Assert None is not None
|
||||
"test_handle_logging_on_writing_the_entity_state"
|
||||
private_ble_device = [
|
||||
# AssertionError: assert '90' == '90.0'
|
||||
"test_estimated_broadcast_interval"
|
||||
];
|
||||
shell_command = [
|
||||
# tries to retrieve file from github
|
||||
@ -53,17 +61,9 @@ let
|
||||
# missing operating_status attribute in entity
|
||||
"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 = {
|
||||
conversation = [
|
||||
"--deselect tests/components/conversation/test_init.py::test_get_agent_list"
|
||||
];
|
||||
cloud = [
|
||||
# Tries to connect to alexa-api.nabucasa.com:443
|
||||
"--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
|
||||
"--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 = [
|
||||
# AssertionError: assert 'audio/x-flac' == 'audio/flac'
|
||||
"--deselect tests/components/jellyfin/test_media_source.py::test_resolve"
|
||||
# AssertionError: assert [+ received] == [- snapshot]
|
||||
"--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 = [
|
||||
# aioserial mock produces wrong state
|
||||
"--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 (
|
||||
home-assistant.overridePythonAttrs (old: {
|
||||
|
Loading…
Reference in New Issue
Block a user