1 import ./make-test-python.nix ({ lib, pkgs, ... }: {
3 meta.maintainers = with lib.maintainers; [ etu stunkymonkey ];
5 nodes.machine = { pkgs, ... }: {
8 baseUrl = "http://localhost";
9 passwordFile = pkgs.writeText "password" "secret";
10 dataDir = "/srv/freshrss";
15 machine.wait_for_unit("multi-user.target")
16 machine.wait_for_open_port(80)
17 response = machine.succeed("curl -vvv -s -H 'Host: freshrss' http://127.0.0.1:80/i/")
18 assert '<title>Login ยท FreshRSS</title>' in response, "Login page didn't load successfully"