From 7c424020f4091068b169ce40f75408f4bb760762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 24 Nov 2022 17:54:56 -0800 Subject: [PATCH] home-assistant.python.pkgs.arcam-fmj: fix tests Disable the ones that are incompatible with home-assistant's version of pytest-aiohttp. --- pkgs/servers/home-assistant/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 6e8dbf7e7dbd..299be96bae04 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -41,6 +41,16 @@ let }; }); + arcam-fmj = super.arcam-fmj.overridePythonAttrs (old: rec { + disabledTestPaths = [ + # incompatible with pytest-aiohttp 0.3.0 + # see https://github.com/elupus/arcam_fmj/pull/12 + "tests/test_fake.py" + "tests/test_standard.py" + "tests/test_utils.py" + ]; + }); + backoff = super.backoff.overridePythonAttrs (oldAttrs: rec { version = "1.11.1"; src = fetchFromGitHub {