14
0
forked from pool/python-PyJWT

- Skip failing test gh#jpadilla/pyjwt#802

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=71
This commit is contained in:
2024-08-13 07:09:57 +00:00
committed by Git OBS Bridge
parent e87c3ff565
commit bf49918e05
2 changed files with 9 additions and 1 deletions

View File

@@ -57,7 +57,10 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k "not test_verify_false_deprecated" -k "not test_get_jwt_set_sslcontext_default"
donttest="test_verify_false_deprecated or test_get_jwt_set_sslcontext_default"
# Failing test: gh#jpadilla/pyjwt#802
donttest+=" or test_ec_to_jwk_with_invalid_curve"
%pytest -k "not ($donttest)"
%files %{python_files}
%license LICENSE