14
0

- 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:
2022-01-19 11:59:41 +00:00
committed by Git OBS Bridge
parent 380e3441ea
commit 4d73dba396
2 changed files with 4 additions and 1 deletions

View File

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

View File

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