Loading pkgs/development/python-modules/locust-cloud/default.nix +29 −0 Original line number Diff line number Diff line Loading @@ -10,7 +10,11 @@ python-engineio, python-socketio, requests, gevent-websocket, tomli, flask, requests-mock, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -40,8 +44,33 @@ buildPythonPackage rec { tomli ]; nativeCheckInputs = [ flask gevent-websocket pytestCheckHook requests-mock ]; pythonImportsCheck = [ "locust_cloud" ]; preCheck = '' export LOCUSTCLOUD_USERNAME=dummy export LOCUSTCLOUD_PASSWORD=dummy ''; disabledTests = [ # AssertionError "test_recursive_imports" "test_from_import_file" ]; disabledTestPaths = [ # Tests require network access "tests/web_login_test.py" "tests/cloud_test.py" "tests/websocket_test.py" ]; meta = { description = "Hosted version of Locust to run distributed load tests"; homepage = "https://github.com/locustcloud/locust-cloud"; Loading Loading
pkgs/development/python-modules/locust-cloud/default.nix +29 −0 Original line number Diff line number Diff line Loading @@ -10,7 +10,11 @@ python-engineio, python-socketio, requests, gevent-websocket, tomli, flask, requests-mock, pytestCheckHook, }: buildPythonPackage rec { Loading Loading @@ -40,8 +44,33 @@ buildPythonPackage rec { tomli ]; nativeCheckInputs = [ flask gevent-websocket pytestCheckHook requests-mock ]; pythonImportsCheck = [ "locust_cloud" ]; preCheck = '' export LOCUSTCLOUD_USERNAME=dummy export LOCUSTCLOUD_PASSWORD=dummy ''; disabledTests = [ # AssertionError "test_recursive_imports" "test_from_import_file" ]; disabledTestPaths = [ # Tests require network access "tests/web_login_test.py" "tests/cloud_test.py" "tests/websocket_test.py" ]; meta = { description = "Hosted version of Locust to run distributed load tests"; homepage = "https://github.com/locustcloud/locust-cloud"; Loading