1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-10 01:53:09 +09:00

nixosTests.calibre-server: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-05 18:35:52 +02:00
parent 0aa6ecb083
commit 38d86e4725
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 5 additions and 6 deletions

View file

@ -275,7 +275,7 @@ in
cage = handleTest ./cage.nix { };
cagebreak = handleTest ./cagebreak.nix { };
calibre-web = runTest ./calibre-web.nix;
calibre-server = handleTest ./calibre-server.nix { };
calibre-server = import ./calibre-server.nix { inherit pkgs runTest; };
canaille = handleTest ./canaille.nix { };
castopod = handleTest ./castopod.nix { };
cassandra_3_0 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_3_0; };

View file

@ -1,11 +1,10 @@
{
system ? builtins.currentSystem,
config ? { },
pkgs ? import ../.. { inherit system config; },
pkgs,
runTest,
...
}:
let
inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;
inherit (pkgs.lib)
concatStringsSep
maintainers
@ -74,7 +73,7 @@ let
in
mapAttrs (
test: testConfig:
(makeTest (
(runTest (
let
nodeName = testConfig.nodeName or test;
calibreConfig = {