1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Add checkPhase

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
Doron Behar 2020-01-09 17:29:59 +02:00 committed by GitHub
parent 052c103725
commit d9935b1f71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,11 @@ python.pkgs.buildPythonApplication rec {
psutil psutil
]; ];
# test_integration.py requires Chrome browser session
checkPhase = ''
${python.interpreter} -m unittest brotab/tests/test_{brotab,utils}.py
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/balta2ar/brotab"; homepage = "https://github.com/balta2ar/brotab";
description = "Control your browser's tabs from the command line"; description = "Control your browser's tabs from the command line";
@ -26,4 +31,3 @@ python.pkgs.buildPythonApplication rec {
maintainers = with maintainers; [ doronbehar ]; maintainers = with maintainers; [ doronbehar ];
}; };
} }