File project.diff of Package python-cheroot

--- python-cheroot.spec.orig
+++ python-cheroot.spec
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without test
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cheroot
 Version:        6.5.4
@@ -66,8 +68,10 @@ sed -i -e '/addopts/d' pytest.ini
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
+%endif
 
 %files %{python_files}
 %license LICENSE.md