Benjamin Greiner 2023-12-24 14:36:38 +00:00 committed by Git OBS Bridge
parent 8c96429b5e
commit 1460eb66c1

View File

@ -82,7 +82,10 @@ This subpackage provides the [server] extra dependencies
%prep
%setup -q -n pytest_jupyter-%{version}
sed -i 's/ "--color=yes",//' pyproject.toml
sed -e 's/ "--color=yes",//' -i pyproject.toml
%if %{with ringdisabled}
sed -e "/jupyter_server/d" -i tests/conftest.py
%endif
%if !%{with test}
%build
@ -96,7 +99,7 @@ sed -i 's/ "--color=yes",//' pyproject.toml
%if %{with test}
%check
mv pytest_jupyter pytest_jupyter.moved
%pytest
%pytest %{?_with_ringdisabled:--ignore tests/test_jupyter_server.py}
%endif
%if !%{with test}