Files
nixpkgs/nixos/tests/etesync-dav.nix
Michael Daniels 7a6eda8acd treewide: remove maintainers with deleted GitHub accounts
Each of these maintainers came up in maintainers/scripts/check-maintainer-usernames.

I have manually verified that each of their IDs and usernames 404 when using the API calls
https://api.github.com/user/$ID, https://api.github.com/users/$USERNAME,
and https://api.github.com/users/$USERNAME/starred.

(cherry picked from commit f8776aff47)
2025-06-26 10:54:13 -04:00

29 lines
687 B
Nix

import ./make-test-python.nix (
{ pkgs, ... }:
{
name = "etesync-dav";
meta = with pkgs.lib.maintainers; {
maintainers = [ ];
};
nodes.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 >&2 &")
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/")
'';
}
)