1 import ./make-test-python.nix ({ pkgs, lib, ... }:
7 meta.maintainers = with lib.maintainers; [ dotlambda ];
9 nodes.mollysocket = { ... }: {
10 services.mollysocket = {
21 mollysocket.wait_for_unit("mollysocket.service")
22 mollysocket.wait_for_open_port(${toString port})
24 out = mollysocket.succeed("curl --fail http://127.0.0.1:${toString port}")
25 assert json.loads(out)["mollysocket"]["version"] == "${toString pkgs.mollysocket.version}"