python3Packages.nbclassic: fix tests
This commit is contained in:
parent
fb7422fda9
commit
0b8cf4a766
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, notebook
|
||||
, pythonOlder
|
||||
, jupyter_server
|
||||
|
@ -23,6 +24,13 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ jupyter_server notebook ];
|
||||
|
||||
preCheck = ''
|
||||
cd nbclassic
|
||||
mv conftest.py tests
|
||||
cd tests
|
||||
|
||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-tornasync
|
||||
|
|
Loading…
Reference in a new issue