From cf51b95aea169850208f2e8944d27fb290e1f9b4 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 10 May 2021 21:25:43 +0200 Subject: [PATCH] home-assistant: add jsonpickle to checkInputs Drop asynctest, it was dropped back in january upstream. These dependencies are sadly not part of the manifest, that we are parsing. --- pkgs/servers/home-assistant/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 86b8094d202a..d44663fc3cec 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -182,17 +182,17 @@ in with py.pkgs; buildPythonApplication rec { doCheck = stdenv.isLinux; checkInputs = [ - # test infrastructure - asynctest + # test infrastructure (selectively from requirement_test.txt) pytest-aiohttp pytest-mock pytest-rerunfailures pytest-xdist pytestCheckHook requests-mock - # component dependencies - pyotp + jsonpickle respx + # required by tests/auth/mfa_modules + pyotp ] ++ lib.concatMap (component: getPackages component py.pkgs) componentTests; # We can reasonably test components that don't communicate with any network