BuildRequires: python-requests
BuildRequires: python-six >= 1.10.0
BuildConflicts: python-backports.unittest_mock
+BuildConflicts: python-pyfakefs
BuildConflicts: python-pytest-catchlog
# with xdist requires various modules source
BuildConflicts: python-pytest-xdist
BuildRequires: python3-pluggy >= 0.7
BuildRequires: python3-requests
BuildRequires: python3-six >= 1.10.0
+BuildConflicts: python3-pyfakefs
BuildConflicts: python3-pytest-catchlog
BuildConflicts: python3-pytest-xdist
%endif
%if %{with tests}
# test_pdb_custom_cls_with_settrace fails without preinstalled pytest
PYTHONPATH=$(pwd)/src \
-%{__python} -m pytest -k 'not test_pdb and not TestTerminal' testing
+%{__python} -m pytest -k 'not test_pdb and not TestTerminal and not test_request_garbage' testing
%endif
%endif
%if %{with tests}
# test_pdb_custom_cls_with_settrace fails without preinstalled pytest
# test_pdb_* which spawn pdb hang under some unclear conditions
+# test_request_garbage fails sometimes
PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest -v -k 'not test_pdb and not TestTerminal' testing
+%{__python3} -m pytest -v -k 'not test_pdb and not TestTerminal and not test_request_garbage' testing
%endif
%endif