Move exit to the begining
Some checks failed
OBS build / build (pull_request) Has been cancelled

This commit is contained in:
Daniel Garcia 2024-11-13 12:08:43 +01:00
parent 8807b73707
commit eff2380c6c

View File

@ -62,6 +62,7 @@ rm pytest.ini
%endif %endif
%check %check
exit 1
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# Tests that requires network # Tests that requires network
donttest="webtest or url_https.spec" donttest="webtest or url_https.spec"
@ -69,7 +70,6 @@ donttest="webtest or url_https.spec"
# the secure url exists # the secure url exists
donttest+=" or source_https or rpmpreamble.spec or replace_pwdutils.spec or mingw32-clutter.spec" donttest+=" or source_https or rpmpreamble.spec or replace_pwdutils.spec or mingw32-clutter.spec"
python3 -m pytest -k "not ($donttest)" tests/*-tests.py python3 -m pytest -k "not ($donttest)" tests/*-tests.py
exit 1
%install %install
%if 0%{?mageia} %if 0%{?mageia}