1 import ./make-test-python.nix ({ lib, pkgs, ... }: {
3 meta.maintainers = with lib.maintainers; [ mattchrist ];
5 nodes.machine = { pkgs, ... }: {
8 baseUrl = "http://localhost";
9 dataDir = "/srv/freshrss";
10 authType = "http_auth";
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' -H 'Remote-User: testuser' http://127.0.0.1:80/i/")
18 assert 'Account: testuser' in response, "http_auth method didn't work."