python313Packages.dtschema: enable tests

This commit is contained in:
Sigmanificient
2026-01-18 05:08:25 +01:00
parent f93c2cedfe
commit d7c774fcf7
@@ -8,6 +8,8 @@
ruamel-yaml,
setuptools-scm,
libfdt,
pytestCheckHook,
dtc,
}:
buildPythonPackage rec {
@@ -31,11 +33,15 @@ buildPythonPackage rec {
libfdt
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "dtschema" ];
nativeCheckInputs = [
pytestCheckHook
dtc
];
enabledTestPaths = [ "test/test-dt-validate.py" ];
meta = {
description = "Tooling for devicetree validation using YAML and jsonschema";
homepage = "https://github.com/devicetree-org/dt-schema/";