Unverified Commit b64bbcf1 authored by Jon Seager's avatar Jon Seager
Browse files

rockcraft: use `writableTmpDirAsHomeHook` for checks

parent c5c77ad7
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  testers,
  rockcraft,
  cacert,
  writableTmpDirAsHomeHook,
}:

python3Packages.buildPythonApplication rec {
@@ -39,14 +40,10 @@ python3Packages.buildPythonApplication rec {
      pytest-mock
      pytest-subprocess
      pytestCheckHook
      writableTmpDirAsHomeHook
    ]
    ++ [ dpkg ];

  preCheck = ''
    mkdir -p check-phase
    export HOME="$(pwd)/check-phase"
  '';

  disabledTests = [
    "test_project_all_platforms_invalid"
    "test_run_init_flask"