bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git] / nixos / tests / pict-rs.nix
blob12109c74138d16ff3f7d3e25c098bea68187bc2b
1 import ./make-test-python.nix (
2   { pkgs, lib, ... }:
3   {
4     name = "pict-rs";
5     meta.maintainers = with lib.maintainers; [ happysalada ];
7     nodes.machine =
8       { ... }:
9       {
10         environment.systemPackages = with pkgs; [
11           curl
12           jq
13         ];
14         services.pict-rs.enable = true;
15       };
17     testScript = ''
18       start_all()
20       machine.wait_for_unit("pict-rs")
21       machine.wait_for_open_port(8080)
22     '';
23   }