python3Packags.geoalchemy2: disable test that depend on pgsql instance

main
Martin Weinelt 2 years ago
parent f9c5259b71
commit f2d98aedb1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 11
      pkgs/development/python-modules/geoalchemy2/default.nix

@ -34,6 +34,12 @@ buildPythonPackage rec {
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 = [
# tests require live postgis database
"tests/gallery/test_decipher_raster.py"
@ -41,6 +47,11 @@ buildPythonPackage rec {
"tests/gallery/test_summarystatsagg.py"
"tests/gallery/test_type_decorator.py"
"tests/test_functional.py"
"tests/test_functional_postgresql.py"
];
pythonImportsCheck = [
"geoalchemy2"
];
meta = with lib; {

Loading…
Cancel
Save