python310Packages.jsonschema: run tests with pytest
pytest has less dependencies and better integration like disabling tests is super easy
This commit is contained in:
committed by
Martin Weinelt
parent
1148d2369b
commit
d9c4b673b6
@@ -8,10 +8,10 @@
|
||||
, importlib-resources
|
||||
, jsonschema-specifications
|
||||
, pkgutil-resolve-name
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, referencing
|
||||
, rpds-py
|
||||
, twisted
|
||||
|
||||
# optionals
|
||||
, fqdn
|
||||
@@ -81,14 +81,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
twisted
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
export JSON_SCHEMA_TEST_SUITE=json
|
||||
trial jsonschema
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jsonschema"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user