1 import ./make-test-python.nix ({ pkgs, ... }: {
4 meta = with pkgs.lib.maintainers; {
5 maintainers = [ _3699n ];
8 nodes.machine = { config, pkgs, ... }: {
9 environment.systemPackages = [ pkgs.curl pkgs.etesync-dav ];
14 machine.wait_for_unit("multi-user.target")
15 machine.succeed("etesync-dav --version")
16 machine.execute("etesync-dav >&2 &")
17 machine.wait_for_open_port(37358)
18 with subtest("Check that the web interface is accessible"):
19 assert "Add User" in machine.succeed("curl -s http://localhost:37358/.web/add/")