python310Packages.jupyter-nbextensions-configurator: run tests

This commit is contained in:
Gaetan Lepage 2023-07-20 08:49:34 +02:00
parent cdb0e2e82b
commit b9dab7ce25

View file

@ -8,6 +8,9 @@
, notebook
, pyyaml
, tornado
, nose
, pytestCheckHook
, selenium
}:
buildPythonPackage rec {
@ -39,6 +42,19 @@ buildPythonPackage rec {
tornado
];
nativeCheckInputs = [
nose
pytestCheckHook
selenium
];
# Those tests fails upstream
disabledTestPaths = [
"tests/test_application.py"
"tests/test_jupyterhub.py"
"tests/test_nbextensions_configurator.py"
];
pythonImportsCheck = [ "jupyter_nbextensions_configurator" ];
meta = with lib; {