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