1 import ./make-test-python.nix ({ pkgs, ... }:
4 meta = with pkgs.lib.maintainers; {
5 maintainers = [ hexa maralorn ];
12 baseUrl = "http://localhost";
13 secretFile = pkgs.writeText "secrets" "ACCESS_TOKEN=changeme";
16 UserId = "@test:localhost";
17 AccessToken = "$ACCESS_TOKEN";
18 HomeServerUrl = "http://localhost";
20 AutoJoinRooms = false;
21 DisplayName = "neverbeseen";
24 ID = "wikipedia_service";
26 UserID = "@test:localhost";
36 server.wait_for_unit("go-neb.service")
37 server.wait_until_succeeds("curl -fL http://localhost:4050/services/hooks/d2lraXBlZGlhX3NlcnZpY2U")
39 "journalctl -eu go-neb -o cat | grep -q service_id=wikipedia_service",
40 "grep -q changeme /var/run/go-neb/config.yaml",