rathole: migrate to runTest

Part of #386873
This commit is contained in:
Sergei Zimmerman 2025-03-11 11:21:56 +00:00 committed by Masum Reza
parent 15e23ec702
commit 6f7caa580d
2 changed files with 46 additions and 46 deletions

View file

@ -1005,7 +1005,7 @@ in {
radicle = runTest ./radicle.nix; radicle = runTest ./radicle.nix;
ragnarwm = handleTest ./ragnarwm.nix {}; ragnarwm = handleTest ./ragnarwm.nix {};
rasdaemon = handleTest ./rasdaemon.nix {}; rasdaemon = handleTest ./rasdaemon.nix {};
rathole = handleTest ./rathole.nix {}; rathole = runTest ./rathole.nix;
readarr = handleTest ./readarr.nix {}; readarr = handleTest ./readarr.nix {};
realm = handleTest ./realm.nix {}; realm = handleTest ./realm.nix {};
readeck = runTest ./readeck.nix; readeck = runTest ./readeck.nix;

View file

@ -1,5 +1,4 @@
import ./make-test-python.nix ( { lib, ... }:
{ pkgs, lib, ... }:
let let
successMessage = "Success 3333115147933743662"; successMessage = "Success 3333115147933743662";
@ -37,7 +36,9 @@ import ./make-test-python.nix (
}; };
}; };
client = { client =
{ pkgs, ... }:
{
networking = { networking = {
useNetworkd = true; useNetworkd = true;
useDHCP = false; useDHCP = false;
@ -86,4 +87,3 @@ import ./make-test-python.nix (
assert "${successMessage}" in response, "Got invalid response" assert "${successMessage}" in response, "Got invalid response"
''; '';
} }
)