1 import ./make-test-python.nix ({ pkgs, lib, ... }:
4 meta.maintainers = with lib.maintainers; [ mkg20001 ];
6 nodes.machine = { pkgs, ... }: {
7 environment.systemPackages = with pkgs; [
12 services.haste-server = {
18 machine.wait_for_unit("haste-server")
19 machine.wait_until_succeeds("curl -s localhost:7777")
20 machine.succeed('curl -s -X POST http://localhost:7777/documents -d "Hello World!" > bla')
21 machine.succeed('curl http://localhost:7777/raw/$(cat bla | jq -r .key) | grep "Hello World"')