Skip to content

Commit

Permalink
python3Packages.chart-studio: nose -> pynose
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrox0 committed Jul 9, 2024
1 parent d185f8c commit 30b7bf4
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pkgs/development/python-modules/chart-studio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
buildPythonPackage,
fetchFromGitHub,
mock,
nose,
plotly,
pytest,
pytestCheckHook,
requests,
retrying,
setuptools,
Expand Down Expand Up @@ -38,15 +37,20 @@ buildPythonPackage rec {

nativeCheckInputs = [
mock
nose
pytest
pytestCheckHook
];
# most tests talk to a service
checkPhase = ''
HOME=$TMPDIR pytest chart_studio/tests/test_core chart_studio/tests/test_plot_ly/test_api

preCheck = ''
export HOME=$TMPDIR
'';

meta = with lib; {
# most tests talk to a service
pytestFlagsArray = [
"chart_studio/tests/test_core"
"chart_studio/tests/test_plot_ly/test_api"
];

meta = {
description = "Utilities for interfacing with Plotly's Chart Studio service";
homepage = "https://github.com/plotly/plotly.py/tree/master/packages/python/chart-studio";
license = with licenses; [ mit ];
Expand Down

0 comments on commit 30b7bf4

Please sign in to comment.