nixosTests.birdwatcher: handleTest -> runTest
This commit is contained in:
parent
e6817f33bd
commit
404d25243c
@ -255,7 +255,7 @@ in
|
||||
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;
|
||||
|
@ -1,21 +1,10 @@
|
||||
# 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;
|
||||
@ -84,7 +73,6 @@ makeTest {
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
|
Loading…
x
Reference in New Issue
Block a user