Unverified Commit 537b1128 authored by Pyrox's avatar Pyrox
Browse files

python312Packages.python-nvd3: migrate from `setup.py test`

parent ba575e32
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  python-slugify,
  jinja2,
  setuptools,
  coverage,
  pytestCheckHook,
}:

buildPythonPackage rec {
@@ -25,11 +25,10 @@ buildPythonPackage rec {
    jinja2
    setuptools
  ];
  nativeCheckInputs = [ coverage ];

  checkPhase = ''
    coverage run --source=nvd3 setup.py test
  '';
  nativeCheckInputs = [ pytestCheckHook ];

  pytestFlagsArray = [ "tests.py" ];

  meta = with lib; {
    homepage = "https://github.com/areski/python-nvd3";