at 24.11-pre 582 B view raw
1import ./make-test-python.nix ({ lib, pkgs, ... }: { 2 name = "freshrss"; 3 meta.maintainers = with lib.maintainers; [ mattchrist ]; 4 5 nodes.machine = { pkgs, ... }: { 6 services.freshrss = { 7 enable = true; 8 baseUrl = "http://localhost"; 9 authType = "none"; 10 }; 11 }; 12 13 testScript = '' 14 machine.wait_for_unit("multi-user.target") 15 machine.wait_for_open_port(80) 16 response = machine.succeed("curl -vvv -s http://127.0.0.1:80/i/") 17 assert '<title>Main stream · FreshRSS</title>' in response, "FreshRSS stream page didn't load successfully" 18 ''; 19})