diff --git a/python-nbdime.spec b/python-nbdime.spec index 5d0fd32..b43277c 100644 --- a/python-nbdime.spec +++ b/python-nbdime.spec @@ -197,6 +197,9 @@ done %fdupes %{buildroot}%{_jupyter_prefix} %check +# tornado mock setup failures: no auth_url +donttest="(test_cli_apps and (test_git_difftool or test_git_mergetool))" +donttest="$donttest or (test_web and (test_fetch_diff or test_fetch_merge))" # freshly to be install libalternatives commands are not yet flavorbinned automatically %if %{with libalternatives} %{python_expand mkdir -p build/flavorbin @@ -213,7 +216,7 @@ export PYTHONDONTWRITEBYTECODE=1 %{python_expand # don't test anything on python39: no jupyter-server-test anymore export PYTHONPATH=%{buildroot}%{$python_sitelib} if [ "${python_flavor}" != "python39" ]; then - $python -m pytest -v --pyargs nbdime + $python -m pytest -v --pyargs nbdime -k "not ($donttest)" fi } @@ -292,6 +295,5 @@ done %license LICENSE.md %dir %{_jupyter_prefix}/labextensions %{_jupyter_labextensions_dir3}/nbdime-jupyterlab -%{_jupyter_labextensions_dir}/nbdime-jupyterlab-%{labver}.tgz %changelog