nixosTests.zenohd: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 22:51:56 +01:00
parent 052ef614f6
commit e3c80a49c8
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 72 additions and 75 deletions

View file

@ -1303,7 +1303,7 @@ in {
yggdrasil = handleTest ./yggdrasil.nix {}; yggdrasil = handleTest ./yggdrasil.nix {};
your_spotify = handleTest ./your_spotify.nix {}; your_spotify = handleTest ./your_spotify.nix {};
zammad = handleTest ./zammad.nix {}; zammad = handleTest ./zammad.nix {};
zenohd = handleTest ./zenohd.nix {}; zenohd = runTest ./zenohd.nix;
zeronet-conservancy = runTest ./zeronet-conservancy.nix; zeronet-conservancy = runTest ./zeronet-conservancy.nix;
zfs = handleTest ./zfs.nix {}; zfs = handleTest ./zfs.nix {};
zigbee2mqtt_1 = runTest { zigbee2mqtt_1 = runTest {

View file

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { pkgs, lib, ... }:
{ pkgs, lib, ... }:
{ {
name = "zenohd"; name = "zenohd";
meta.maintainers = [ lib.maintainers.markuskowa ]; meta.maintainers = [ lib.maintainers.markuskowa ];
@ -9,7 +8,6 @@ import ./make-test-python.nix (
router = router =
{ {
pkgs, pkgs,
lib,
config, config,
... ...
}: }:
@ -89,5 +87,4 @@ import ./make-test-python.nix (
client.succeed(f"mosquitto_pub -h router -t {be}/test -m hello") client.succeed(f"mosquitto_pub -h router -t {be}/test -m hello")
client.succeed(f"curl router:8000/{be}/test | grep hello") client.succeed(f"curl router:8000/{be}/test | grep hello")
''; '';
} }
)