about summary refs log tree commit diff
path: root/pkgs/servers/home-assistant/tests.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-06 23:09:18 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-07 02:03:21 +0200
commit9b7bd914d246b9db0a317163e026fcfbd426784f (patch)
tree5e3950dc98576997cd6e494b542cd8c9223cd031 /pkgs/servers/home-assistant/tests.nix
parent08ac808bb3c8ac66c844ab631dcc2dbd20cc8937 (diff)
home-assistant: 2022.6.7 -> 2022.7.0
https://www.home-assistant.io/blog/2022/07/06/release-20227/
Diffstat (limited to 'pkgs/servers/home-assistant/tests.nix')
-rw-r--r--pkgs/servers/home-assistant/tests.nix24
1 files changed, 21 insertions, 3 deletions
diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix
index 488ce35a16450..6d21e6a6eed24 100644
--- a/pkgs/servers/home-assistant/tests.nix
+++ b/pkgs/servers/home-assistant/tests.nix
@@ -11,6 +11,7 @@ let
     config = [ pydispatcher ];
     generic = [ av ];
     google_translate = [ mutagen ];
+    homeassistant_yellow = [ bellows zha-quirks zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp ];
     lovelace = [ PyChromecast ];
     nest = [ av ];
     onboarding = [ pymetno radios rpi-bad-power ];
@@ -36,13 +37,31 @@ let
       # homeassistant.components.roku.media_player:media_player.py:428 Media type music is not supported with format None (mime: audio/x-matroska)
       "test_services_play_media_audio"
     ];
+    rfxtrx = [
+      # bytearrray mismatch
+      "test_rfy_cover"
+    ];
   };
 
   extraPytestFlagsArray = {
     asuswrt = [
-      # asuswrt/test_config_flow.py: Sandbox network limitations, fails with unexpected error
+      # Sandbox network limitations, fails with unexpected error
       "--deselect tests/components/asuswrt/test_config_flow.py::test_on_connect_failed"
     ];
+    history_stats = [
+      # Flaky: AssertionError: assert '0.0' == '12.0'
+      "--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
+    ];
+    skybell = [
+      # Sandbox network limitations: Cannot connect to host cloud.myskybell.com:443
+      "--deselect tests/components/skybell/test_config_flow.py::test_flow_user_unknown_error"
+    ];
+    stream = [
+      # Tries to write to /example and gets "Permission denied"
+      "--deselect tests/components/stream/test_recorder.py::test_record_lookback"
+      "--deselect tests/components/stream/test_recorder.py::test_recorder_log"
+      "--deselect tests/components/stream/test_worker.py::test_get_image"
+    ];
   };
 in lib.listToAttrs (map (component: lib.nameValuePair component (
   home-assistant.overridePythonAttrs (old: {
@@ -72,9 +91,8 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
 
     meta = old.meta // {
       broken = lib.elem component [
-        "bsblan"
+        "blebox" # all tests fail with: AttributeError: Mock object has no attribute 'async_from_host'
         "dnsip"
-        "efergy"
         "ssdp"
         "subaru"
       ];