1 { system ? builtins.currentSystem, config ? { }
2 , pkgs ? import ../.. { inherit system config; } }:
4 with import ../lib/testing-python.nix { inherit system pkgs; };
11 name = "go-camo-file-key";
13 maintainers = [ pkgs.lib.maintainers.viraptor ];
16 nodes.machine = { config, pkgs, ... }: {
19 keyFile = pkgs.writeText "foo" key_val;
23 # go-camo responds to http requests
25 machine.wait_for_unit("go-camo.service")
26 machine.wait_for_open_port(8080)
27 machine.succeed("curl http://localhost:8080")