17
0

Accepting request 1224456 from home:nkrapp:branches:devel:languages:python:flask

- temporarily disable tests that are broken with SLQAlchemy 2.0.36
  * https://github.com/pallets-eco/flask-sqlalchemy/issues/1378

OBS-URL: https://build.opensuse.org/request/show/1224456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask-SQLAlchemy?expand=0&rev=35
This commit is contained in:
2024-11-15 13:31:07 +00:00
committed by Git OBS Bridge
parent fcaf5d18d2
commit 7a529d5494
2 changed files with 10 additions and 1 deletions

View File

@@ -57,7 +57,10 @@ Adds SQLAlchemy support to your Flask application.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -W "ignore::ResourceWarning"
# skip tests that are broken with SQLAlchemy 2.0.36
# https://github.com/pallets-eco/flask-sqlalchemy/issues/1378
donttest=("-k" "not test_model_bind")
%pytest -W "ignore::ResourceWarning" "${donttest[@]}"
%files %{python_files}
%license LICENSE.rst