From fb1d1acdf0fa5edd2152885b7515e854c8599973 Mon Sep 17 00:00:00 2001 From: midchildan Date: Mon, 16 May 2022 02:21:32 +0900 Subject: [PATCH] httpie: disable flaky tests --- pkgs/development/python-modules/httpie/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/httpie/default.nix b/pkgs/development/python-modules/httpie/default.nix index 4f852bb3c25..143822de63b 100644 --- a/pkgs/development/python-modules/httpie/default.nix +++ b/pkgs/development/python-modules/httpie/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , installShellFiles @@ -82,6 +83,19 @@ buildPythonPackage rec { "httpie" ]; + disabledTestPaths = lib.optionals stdenv.isDarwin [ + # flaky + "tests/test_plugins_cli.py" + ]; + + disabledTests = [ + # flaky + "test_stdin_read_warning" + ] ++ lib.optionals stdenv.isDarwin [ + # flaky + "test_daemon_runner" + ]; + meta = with lib; { description = "A command line HTTP client whose goal is to make CLI human-friendly"; homepage = "https://httpie.org/";