forked from pool/python-pyftpdlib
- Skip over failing tests (the same bug)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=33
This commit is contained in:
@@ -3,6 +3,7 @@ Wed Jan 19 08:00:32 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
|||||||
|
|
||||||
- Add _constraints file to require at least two CPUs
|
- Add _constraints file to require at least two CPUs
|
||||||
(gh#giampaolo/pyftpdlib#540).
|
(gh#giampaolo/pyftpdlib#540).
|
||||||
|
- Skip over failing tests (the same bug)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 26 04:12:28 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Tue Oct 26 04:12:28 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
@@ -91,7 +91,9 @@ EOF
|
|||||||
%{python_expand # pytest macro does not work. The tests parse CLI args and fail if there are any unknown program args
|
%{python_expand # pytest macro does not work. The tests parse CLI args and fail if there are any unknown program args
|
||||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
# https://github.com/giampaolo/pyftpdlib/issues/478
|
# # gh#giampaolo/pyftpdlib#540
|
||||||
|
# export PYTEST_ADDOPTS="-k 'not (TestFtpListingCmdsTLSMixin or TestConfigurableOptions or TestFtpStoreDataTLSMixin)'"
|
||||||
|
# gh#giampaolo/pyftpdlib#478
|
||||||
export TZ=GMT+1
|
export TZ=GMT+1
|
||||||
$python -m pytest
|
$python -m pytest
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user