nixosTests.librenms: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-04 13:44:11 +02:00
parent 2adb1b17c0
commit 8807f45da0
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 89 additions and 91 deletions

View file

@ -691,7 +691,7 @@ in
leaps = handleTest ./leaps.nix { };
lemmy = handleTest ./lemmy.nix { };
libinput = handleTest ./libinput.nix { };
librenms = handleTest ./librenms.nix { };
librenms = runTest ./librenms.nix;
libresprite = handleTest ./libresprite.nix { };
libreswan = runTest ./libreswan.nix;
libreswan-nat = runTest ./libreswan-nat.nix;

View file

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
let
@ -103,4 +102,3 @@ import ./make-test-python.nix (
librenms.wait_until_succeeds("test $(curl -H 'X-Auth-Token: ${api_token}' http://localhost/api/v0/devices/snmphost | jq -Mr .devices[0].last_polled) != 'null'")
'';
}
)