From e1c294381a513e2049be4381f7afdfff628746ce Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mar 14 2018 11:41:09 +0000 Subject: enable vsftpd-based tests --- diff --git a/python-pycurl.spec b/python-pycurl.spec index 0367812..f5fbe4b 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -77,6 +77,9 @@ rm -f tests/fake-curl/libcurl/*.so # remove a test-case that relies on sftp://web.sourceforge.net being available rm -f tests/ssh_key_cb_test.py +# remove a test-case that fails in Koji +rm -f tests/seek_cb_test.py + # remove tests depending on the 'flaky' nose plug-in (not available in Fedora) grep '^import flaky' -r tests | cut -d: -f1 | xargs rm -fv @@ -96,6 +99,7 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl %check export PYTHONPATH=%{buildroot}%{python3_sitearch} +export PYCURL_VSFTPD_PATH=vsftpd make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v" rm -fv tests/fake-curl/libcurl/*.so @@ -115,6 +119,7 @@ rm -fv tests/fake-curl/libcurl/*.so %changelog * Wed Mar 14 2018 Kamil Dudka - 7.43.0-15 +- enable vsftpd-based tests - run the test-suite for Python 3 only - do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora