at 25.11-pre 464 B view raw
1import ./make-test-python.nix ( 2 { lib, ... }: 3 4 { 5 name = "fluidd"; 6 meta.maintainers = with lib.maintainers; [ vtuan10 ]; 7 8 nodes.machine = 9 { pkgs, ... }: 10 { 11 services.fluidd = { 12 enable = true; 13 }; 14 }; 15 16 testScript = '' 17 machine.start() 18 machine.wait_for_unit("nginx.service") 19 machine.wait_for_open_port(80) 20 machine.succeed("curl -sSfL http://localhost/ | grep 'fluidd'") 21 ''; 22 } 23)