nixosTests.node-red: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-30 00:22:55 +01:00
parent c9947f03d1
commit 04456442cc
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 32 additions and 34 deletions

View file

@ -846,7 +846,7 @@ in {
}; };
nixpkgs = pkgs.callPackage ../modules/misc/nixpkgs/test.nix { inherit evalMinimalConfig; }; nixpkgs = pkgs.callPackage ../modules/misc/nixpkgs/test.nix { inherit evalMinimalConfig; };
nixseparatedebuginfod = handleTest ./nixseparatedebuginfod.nix {}; nixseparatedebuginfod = handleTest ./nixseparatedebuginfod.nix {};
node-red = handleTest ./node-red.nix {}; node-red = runTest ./node-red.nix;
nomad = runTest ./nomad.nix; nomad = runTest ./nomad.nix;
non-default-filesystems = handleTest ./non-default-filesystems.nix {}; non-default-filesystems = handleTest ./non-default-filesystems.nix {};
non-switchable-system = runTest ./non-switchable-system.nix; non-switchable-system = runTest ./non-switchable-system.nix;

View file

@ -1,6 +1,5 @@
import ./make-test-python.nix ( { pkgs, ... }:
{ pkgs, ... }: {
{
name = "nodered"; name = "nodered";
meta = with pkgs.lib.maintainers; { meta = with pkgs.lib.maintainers; {
maintainers = [ matthewcroughan ]; maintainers = [ matthewcroughan ];
@ -34,5 +33,4 @@ import ./make-test-python.nix (
"curl -sSf http:/nodered:1880/ | grep title" "curl -sSf http:/nodered:1880/ | grep title"
) )
''; '';
} }
)