nixosTests.kimai: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-04 23:56:15 +02:00
parent 017583d659
commit e9a7bc917c
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 18 additions and 20 deletions

View file

@ -675,7 +675,7 @@ in
keycloak = discoverTests (import ./keycloak.nix); keycloak = discoverTests (import ./keycloak.nix);
keyd = handleTest ./keyd.nix { }; keyd = handleTest ./keyd.nix { };
keymap = handleTest ./keymap.nix { }; keymap = handleTest ./keymap.nix { };
kimai = handleTest ./kimai.nix { }; kimai = runTest ./kimai.nix;
kmonad = runTest ./kmonad.nix; kmonad = runTest ./kmonad.nix;
knot = runTest ./knot.nix; knot = runTest ./knot.nix;
komga = handleTest ./komga.nix { }; komga = handleTest ./komga.nix { };

View file

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { lib, ... }:
{ lib, ... }:
{ {
name = "kimai"; name = "kimai";
meta.maintainers = with lib.maintainers; [ peat-psuwit ]; meta.maintainers = with lib.maintainers; [ peat-psuwit ];
@ -19,5 +18,4 @@ import ./make-test-python.nix (
machine.wait_for_open_port(80) machine.wait_for_open_port(80)
machine.succeed("curl -v --location --fail http://localhost/") machine.succeed("curl -v --location --fail http://localhost/")
''; '';
} }
)