nixosTests.calibre-web: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-05 18:29:55 +02:00
parent ceb8b4a5f9
commit 0aa6ecb083
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 37 additions and 39 deletions

View file

@ -274,7 +274,7 @@ in
cadvisor = handleTestOn [ "x86_64-linux" ] ./cadvisor.nix { };
cage = handleTest ./cage.nix { };
cagebreak = handleTest ./cagebreak.nix { };
calibre-web = handleTest ./calibre-web.nix { };
calibre-web = runTest ./calibre-web.nix;
calibre-server = handleTest ./calibre-server.nix { };
canaille = handleTest ./canaille.nix { };
castopod = handleTest ./castopod.nix { };

View file

@ -1,11 +1,10 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{ lib, ... }:
let
let
port = 3142;
defaultPort = 8083;
in
{
in
{
name = "calibre-web";
meta.maintainers = with lib.maintainers; [ pborzenkov ];
@ -40,5 +39,4 @@ import ./make-test-python.nix (
"curl --fail -H X-User:admin 'http://localhost:${toString port}' | grep test-book"
)
'';
}
)
}