Unverified Commit ba11328f authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant-custom-components: disable socket-dependent tests (#506867)

parents 01d9014f 3a566592
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -26,6 +26,12 @@ buildHomeAssistantComponent rec {
    pytestCheckHook
  ];

  disabledTests = [
    # tests try to open sockets
    "test_manual_flow_ac_device"
    "test_manual_flow_cc_device"
  ];

  meta = {
    changelog = "https://github.com/mill1000/midea-ac-py/releases/tag/${src.tag}";
    description = "Home Assistant custom integration to control Midea (and associated brands) air conditioners via LAN";
+7 −0
Original line number Diff line number Diff line
@@ -30,6 +30,13 @@ buildHomeAssistantComponent rec {
    pytest-homeassistant-custom-component
  ];

  disabledTests = [
    # tests try to open sockets
    "test_form_success"
    "test_form_already_configured"
    "test_form_with_options"
  ];

  meta = {
    description = "Home Assistant Mitsubishi Air Conditioner Integration";
    changelog = "https://github.com/pymitsubishi/homeassistant-mitsubishi/releases/tag/v${version}";
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,12 @@ buildHomeAssistantComponent rec {
  ]
  ++ home-assistant.getPackages "camera" home-assistant.python.pkgs;

  disabledTests = [
    # tests try to open sockets
    "test_thumbnail_camera_from_img_to_none"
    "test_bad_connection_config_flow"
  ];

  #skip phases with nothing to do
  dontConfigure = true;