Merge pull request #231854 from figsoda/pokete

pokete: fix version test
This commit is contained in:
Francesco Gazzetta 2023-05-14 17:19:27 +02:00 committed by GitHub
commit ea15bf4bab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, testers
, pokete
, faketty
}:
python3.pkgs.buildPythonApplication rec {
@ -41,7 +42,8 @@ python3.pkgs.buildPythonApplication rec {
passthru.tests = {
pokete-version = testers.testVersion {
package = pokete;
command = "pokete --help";
command = "${faketty}/bin/faketty pokete --help";
version = "v${version}";
};
};