git.iko.soy/typeable/nixpkgs
on master help sign in
vdirsyncer: fix tests
commit84f1d93c00ed8b6634398fdae45a717ea1070a1a authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateMon 25 Feb 2019, 11:05 (8 years ago) parent865e83b
1 file changed+6
pkgs/tools/misc/vdirsyncer/default.nix+6
pkgs/tools/misc/vdirsyncer/default.nix+6
@@ -49,6 +49,12 @@ python3Packages.buildPythonApplication rec {
4949 ];
5050
5151 postPatch = ''
52+ # Invalid argument: 'perform_health_check' is not a valid setting
53+ substituteInPlace tests/conftest.py \
54+ --replace "perform_health_check=False" ""
55+ substituteInPlace tests/unit/test_repair.py \
56+ --replace $'@settings(perform_health_check=False) # Using the random module for UIDs\n' ""
57+
5258 # for setuptools_scm:
5359 echo 'Version: ${version}' >PKG-INFO
5460