1 import ./make-test-python.nix ({ pkgs, lib, ... }:
5 meta = with lib.maintainers; { maintainers = [ fbeffa ]; };
7 nodes.machine = { ... }:
9 services.languagetool.enable = true;
10 services.languagetool.port = port;
15 machine.wait_for_unit("languagetool.service")
16 machine.wait_for_open_port(${toString port})
17 machine.wait_until_succeeds('curl -d "language=en-US" -d "text=a simple test" http://localhost:${toString port}/v2/check')