python3Packages.xknx: 1.1.0 -> 1.2.0
[NixPkgs.git] / nixos / tests / robustirc-bridge.nix
blob8493fd6282128c0e5729006e3d8d401e1a5c24c1
1 import ./make-test-python.nix ({ pkgs, ... }:
4   name = "robustirc-bridge";
5   meta = with pkgs.lib.maintainers; {
6     maintainers = [ hax404 ];
7   };
9   nodes =
10     { bridge =
11       { services.robustirc-bridge = {
12           enable = true;
13           extraFlags = [
14             "-listen localhost:6667"
15             "-network example.com"
16           ];
17         };
18       };
19     };
21     testScript =
22     ''
23       start_all()
25       bridge.wait_for_unit("robustirc-bridge.service")
26       bridge.wait_for_open_port(1080)
27       bridge.wait_for_open_port(6667)
28     '';