From ac0e2f63d0237b653fc0f07a6868acfc8716c8e0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 15 Jun 2021 14:13:02 +0200 Subject: [PATCH] home-assistant: enable wallbox tests Disable two tests that try to access the network. --- pkgs/servers/home-assistant/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 551ab4dedf64..2e66096aec5f 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -663,6 +663,7 @@ in with py.pkgs; buildPythonApplication rec { "volumio" "vultr" "wake_on_lan" + "wallbox" "water_heater" "waze_travel_time" "weather" @@ -727,6 +728,9 @@ in with py.pkgs; buildPythonApplication rec { "--deselect tests/components/prometheus/test_init.py::test_view" # smhi/test_init.py: Tries to fetch data from the network: socket.gaierror: [Errno -2] Name or service not known "--deselect tests/components/smhi/test_init.py::test_remove_entry" + # wallbox/test_config_flow.py: Tries to connect to api.wall-box.cim: Failed to establish a new connection: [Errno -2] Name or service not known + "--deselect tests/components/wallbox/test_config_flow.py::test_form_invalid_auth" + "--deselect tests/components/wallbox/test_config_flow.py::test_form_cannot_connect" # tests are located in tests/ "tests" # dynamically add packages required for component tests