mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 17:40:37 +00:00
python3Packages.overturemaps: enable tests
This commit is contained in:
@@ -35,6 +35,22 @@ python3Packages.buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "overturemaps" ];
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace-fail "testpaths = tests benchmarks" "testpaths = tests"
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires network
|
||||
"tests/test_changelog.py"
|
||||
"tests/test_gers.py"
|
||||
"tests/test_releases.py"
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Official command-line tool of the Overture Maps Foundation";
|
||||
homepage = "https://overturemaps.org/";
|
||||
|
||||
Reference in New Issue
Block a user