From d70eb604e9bb9134ec709b277706c4194b2f6abc Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 7 Dec 2021 23:31:35 -0800 Subject: [PATCH] python3Packages.gradient-utils: disable network tests --- pkgs/development/python-modules/gradient-utils/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/gradient-utils/default.nix b/pkgs/development/python-modules/gradient-utils/default.nix index b7424c44f6de..87002505c0e8 100644 --- a/pkgs/development/python-modules/gradient-utils/default.nix +++ b/pkgs/development/python-modules/gradient-utils/default.nix @@ -52,6 +52,11 @@ buildPythonPackage rec { "test_add_metrics_pushes_metrics" # requires a working prometheus push gateway ]; + disabledTestPaths = [ + # needs network access + "tests/integration/test_metrics.py" + ]; + pythonImportsCheck = [ "gradient_utils" ]; meta = with lib; {