From 84f1d93c00ed8b6634398fdae45a717ea1070a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 25 Feb 2019 11:05:32 +0100 Subject: [PATCH] vdirsyncer: fix tests --- pkgs/tools/misc/vdirsyncer/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/misc/vdirsyncer/default.nix b/pkgs/tools/misc/vdirsyncer/default.nix index f538fcbe4ec..37441f85e1a 100644 --- a/pkgs/tools/misc/vdirsyncer/default.nix +++ b/pkgs/tools/misc/vdirsyncer/default.nix @@ -49,6 +49,12 @@ python3Packages.buildPythonApplication rec { ]; postPatch = '' + # Invalid argument: 'perform_health_check' is not a valid setting + substituteInPlace tests/conftest.py \ + --replace "perform_health_check=False" "" + substituteInPlace tests/unit/test_repair.py \ + --replace $'@settings(perform_health_check=False) # Using the random module for UIDs\n' "" + # for setuptools_scm: echo 'Version: ${version}' >PKG-INFO