nixosTests.birdwatcher: handleTest -> runTest

Changed files
+4 -16
nixos
+1 -1
nixos/tests/all-tests.nix
···
inherit runTest;
package = pkgs.bird3;
};
-
birdwatcher = handleTest ./birdwatcher.nix { };
+
birdwatcher = runTest ./birdwatcher.nix;
bitbox-bridge = runTest ./bitbox-bridge.nix;
bitcoind = runTest ./bitcoind.nix;
bittorrent = runTest ./bittorrent.nix;
+3 -15
nixos/tests/birdwatcher.nix
···
# This test does a basic functionality check for birdwatcher
{
-
system ? builtins.currentSystem,
-
pkgs ? import ../.. {
-
inherit system;
-
config = { };
-
},
-
}:
-
-
let
-
inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;
-
inherit (pkgs.lib) optionalString;
-
in
-
makeTest {
name = "birdwatcher";
-
nodes = {
-
host1 = {
+
nodes.host1 =
+
{ pkgs, ... }:
+
{
environment.systemPackages = with pkgs; [ jq ];
services.bird = {
enable = true;
···
'';
};
};
-
};
testScript = ''
start_all()