diff --git a/python-requests.spec b/python-requests.spec index 63c8792..1213499 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -85,8 +85,9 @@ sed -i 's/ --doctest-modules//' pyproject.toml %pyproject_save_files requests -%if %{with tests} %check +%pyproject_check_import +%if %{with tests} %pytest -v %endif