diff --git a/python-testfixtures.spec b/python-testfixtures.spec index 58e0d26..584d30d 100644 --- a/python-testfixtures.spec +++ b/python-testfixtures.spec @@ -34,6 +34,8 @@ when writing automated tests in Python. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info +# Remove Django tests +rm -rf testfixtures/tests/test_django/ %build %py3_build @@ -42,9 +44,12 @@ rm -rf %{pypi_name}.egg-info %py3_install %check -%pytest -v testfixtures/tests/*.py \ - -k "not test_log_then_patch and not test_our_wrap_dealing_with_mock_patch and not test_patch_with_dict" \ - --ignore "testfixtures/tests/test_popen.py" +%pytest -v testfixtures/tests # \ + # -k "not test_compare" +# -k "not test_log_then_patch and not test_our_wrap_dealing_with_mock_patch and not test_patch_with_dict" \ + #--ignore "testfixtures/tests/test_popen.py" \ + # --ignore "testfixtures/tests/test_django/test_compare.py" + %files -n python3-%{pypi_name} %doc CHANGELOG.rst README.rst