added passthru tests

This commit is contained in:
kashw2 2023-08-17 21:02:18 +10:00
parent b0a71c5f75
commit 07afac881c

View file

@ -1,7 +1,9 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, python3Packages , python3Packages
, testers
, stig
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
@ -51,6 +53,12 @@ python3Packages.buildPythonApplication rec {
"--deselect=tests/client_test/aiotransmission_test/rpc_test.py" "--deselect=tests/client_test/aiotransmission_test/rpc_test.py"
]; ];
passthru.tests = testers.testVersion {
package = stig;
command = "stig -v";
version = "stig version ${version}";
};
meta = with lib; { meta = with lib; {
description = "TUI and CLI for the BitTorrent client Transmission"; description = "TUI and CLI for the BitTorrent client Transmission";
homepage = "https://github.com/rndusr/stig"; homepage = "https://github.com/rndusr/stig";