1import ./make-test-python.nix ({ lib, ... }:
2
3with lib;
4
5{
6 name = "cryptpad";
7 meta.maintainers = with maintainers; [ davhau ];
8
9 nodes.machine =
10 { pkgs, ... }:
11 { services.cryptpad.enable = true; };
12
13 testScript = ''
14 machine.wait_for_unit("cryptpad.service")
15 machine.wait_for_open_port("3000")
16 machine.succeed("curl -L --fail http://localhost:3000/sheet")
17 '';
18})