pythonPackages.ftputil: fix build

Some tests assume execution before 2020.
This commit is contained in:
Konrad Borowski 2020-03-29 13:21:25 +02:00 committed by Frederik Rietdijk
parent d2702c915f
commit cfb435732a

View File

@ -13,10 +13,11 @@ buildPythonPackage rec {
checkPhase = ''
touch Makefile
# Disable tests that require network access or access /home
# Disable tests that require network access or access /home or assume execution before year 2020
py.test test \
-k "not test_public_servers and not test_real_ftp \
and not test_set_parser and not test_repr"
and not test_set_parser and not test_repr \
and not test_conditional_upload and not test_conditional_download_with_older_target"
'';
meta = with lib; {