vdirsyncer: fix tests

This commit is contained in:
Robert Schütz 2019-02-25 11:05:32 +01:00
parent 865e83b80d
commit 84f1d93c00

View File

@ -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