python3Packags.geoalchemy2: disable test that depend on pgsql instance

This commit is contained in:
Martin Weinelt 2022-04-20 02:52:14 +02:00
parent f9c5259b71
commit f2d98aedb1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -34,6 +34,12 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [
# tests require live postgis database
"--deselect=tests/test_pickle.py::TestPickle::test_pickle_unpickle"
"--deselect=tests/gallery/test_specific_compilation.py::test_specific_compilation"
];
disabledTestPaths = [ disabledTestPaths = [
# tests require live postgis database # tests require live postgis database
"tests/gallery/test_decipher_raster.py" "tests/gallery/test_decipher_raster.py"
@ -41,6 +47,11 @@ buildPythonPackage rec {
"tests/gallery/test_summarystatsagg.py" "tests/gallery/test_summarystatsagg.py"
"tests/gallery/test_type_decorator.py" "tests/gallery/test_type_decorator.py"
"tests/test_functional.py" "tests/test_functional.py"
"tests/test_functional_postgresql.py"
];
pythonImportsCheck = [
"geoalchemy2"
]; ];
meta = with lib; { meta = with lib; {