etesync-dav: 0.20.0 -> 0.30.6
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
|
||||
name = "etesync-dav";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ _3699n ];
|
||||
};
|
||||
|
||||
machine = { config, pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.curl pkgs.etesync-dav ];
|
||||
};
|
||||
|
||||
testScript =
|
||||
''
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
machine.succeed("etesync-dav --version")
|
||||
machine.execute("etesync-dav &")
|
||||
machine.wait_for_open_port(37358)
|
||||
with subtest("Check that the web interface is accessible"):
|
||||
assert "Add User" in machine.succeed("curl -s http://localhost:37358/.web/add/")
|
||||
'';
|
||||
})
|
||||
Reference in New Issue
Block a user