1 import ./make-test-python.nix ({ lib, ... }:
7 meta.maintainers = with maintainers; [ fab ];
10 services.libreddit.enable = true;
11 # Test CAP_NET_BIND_SERVICE
12 services.libreddit.port = 80;
16 machine.wait_for_unit("libreddit.service")
17 machine.wait_for_open_port(80)
18 # Query a page that does not require Internet access
19 machine.succeed("curl --fail http://localhost:80/settings")