python3Packages.flask_sqlalchemy: disable flaky test

This commit is contained in:
Martin Weinelt 2022-07-20 17:33:06 +02:00
parent d6e2f6092c
commit df79a23820

View File

@ -1,4 +1,11 @@
{ lib, buildPythonPackage, fetchPypi, flask, mock, sqlalchemy, pytest }:
{ lib
, buildPythonPackage
, fetchPypi
, flask
, mock
, sqlalchemy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Flask-SQLAlchemy";
@ -9,12 +16,20 @@ buildPythonPackage rec {
sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912";
};
propagatedBuildInputs = [ flask sqlalchemy ];
checkInputs = [ mock pytest ];
propagatedBuildInputs = [
flask
sqlalchemy
];
checkPhase = ''
pytest
'';
checkInputs = [
mock
pytestCheckHook
];
disabledTests = [
# flaky
"test_session_scoping_changing"
];
meta = with lib; {
description = "SQLAlchemy extension for Flask";