From d9935b1f717a440d810265396675c0474153d062 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 9 Jan 2020 17:29:59 +0200 Subject: [PATCH] Add checkPhase Co-Authored-By: Jon --- pkgs/tools/misc/brotab/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/brotab/default.nix b/pkgs/tools/misc/brotab/default.nix index b109c0ad50cb..2b6274c631da 100644 --- a/pkgs/tools/misc/brotab/default.nix +++ b/pkgs/tools/misc/brotab/default.nix @@ -19,6 +19,11 @@ python.pkgs.buildPythonApplication rec { psutil ]; + # test_integration.py requires Chrome browser session + checkPhase = '' + ${python.interpreter} -m unittest brotab/tests/test_{brotab,utils}.py + ''; + meta = with lib; { homepage = "https://github.com/balta2ar/brotab"; description = "Control your browser's tabs from the command line"; @@ -26,4 +31,3 @@ python.pkgs.buildPythonApplication rec { maintainers = with maintainers; [ doronbehar ]; }; } -