at 22.05-pre 435 B view raw
1import ./make-test-python.nix ({ pkgs, ... }: { 2 name = "trac"; 3 meta = with pkgs.lib.maintainers; { 4 maintainers = [ mmahut ]; 5 }; 6 7 nodes = { 8 machine = { ... }: { 9 services.trac.enable = true; 10 }; 11 }; 12 13 testScript = '' 14 start_all() 15 machine.wait_for_unit("trac.service") 16 machine.wait_for_open_port(8000) 17 machine.wait_until_succeeds("curl -fL http://localhost:8000/ | grep 'Trac Powered'") 18 ''; 19})