nixos/tests/pinnwand: migrate to runTest

Part of #386873.
This commit is contained in:
Martin Weinelt 2025-03-10 20:31:40 +01:00
parent 41ff93c1d8
commit dd7cee4f04
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 87 additions and 86 deletions

View file

@ -903,7 +903,7 @@ in {
phylactery = handleTest ./web-apps/phylactery.nix {};
pict-rs = handleTest ./pict-rs.nix {};
pingvin-share = handleTest ./pingvin-share.nix {} ;
pinnwand = handleTest ./pinnwand.nix {};
pinnwand = runTest ./pinnwand.nix;
plantuml-server = handleTest ./plantuml-server.nix {};
plasma-bigscreen = handleTest ./plasma-bigscreen.nix {};
plasma5 = handleTest ./plasma5.nix {};

View file

@ -1,10 +1,12 @@
import ./make-test-python.nix (
{ pkgs, ... }:
let
{
pkgs,
...
}:
let
port = 8000;
baseUrl = "http://server:${toString port}";
in
{
in
{
name = "pinnwand";
meta = with pkgs.lib.maintainers; {
maintainers = [ hexa ];
@ -98,5 +100,4 @@ import ./make-test-python.nix (
server.log(server.execute("systemd-analyze security pinnwand | grep ''")[1])
'';
}
)
}