From 4d73dba396811b3a4c1f2f8bd5ec5da44b38d02d83a615b4fc6446999d4a7db1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 19 Jan 2022 11:59:41 +0000 Subject: [PATCH] - Skip over failing tests (the same bug) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=33 --- python-pyftpdlib.changes | 1 + python-pyftpdlib.spec | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python-pyftpdlib.changes b/python-pyftpdlib.changes index 4935d12..4952b02 100644 --- a/python-pyftpdlib.changes +++ b/python-pyftpdlib.changes @@ -3,6 +3,7 @@ Wed Jan 19 08:00:32 UTC 2022 - Matej Cepl - Add _constraints file to require at least two CPUs (gh#giampaolo/pyftpdlib#540). +- Skip over failing tests (the same bug) ------------------------------------------------------------------- Tue Oct 26 04:12:28 UTC 2021 - Steve Kowalik diff --git a/python-pyftpdlib.spec b/python-pyftpdlib.spec index e2848a6..b903b2e 100644 --- a/python-pyftpdlib.spec +++ b/python-pyftpdlib.spec @@ -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 }