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:
@@ -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
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
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
|
||||
$python -m pytest
|
||||
}
|
||||
|
Reference in New Issue
Block a user