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

home-assistant: disable test_circular_imports test (#340324)

parents 11598d52 322047d6
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -100,12 +100,6 @@ let
        ];
      });

      debugpy = super.debugpy.overridePythonAttrs (oldAttrs: {
        # tests are deadlocking too often
        # https://github.com/NixOS/nixpkgs/issues/262000
        doCheck = false;
      });

      geojson = super.geojson.overridePythonAttrs (oldAttrs: rec {
        version = "2.5.0";
        src = fetchFromGitHub {
@@ -569,10 +563,7 @@ in python.pkgs.buildPythonApplication rec {
  ] ++ lib.concatMap (component: getPackages component python.pkgs) [
    # some components are needed even if tests in tests/components are disabled
    "default_config"
    "debugpy"
    "hue"
    "qwikswitch"
    "sentry"
  ];

  pytestFlagsArray = [
@@ -605,6 +596,8 @@ in python.pkgs.buildPythonApplication rec {
    "tests/hassfest"
    # we don't care about code quality
    "tests/pylint"
    # redundant component import test, which would make debugpy & sentry expensive to review
    "tests/test_circular_imports.py"
    # don't bulk test all components
    "tests/components"
  ];