Files
nixpkgs/nixos/tests/tandoor-recipes.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

23 lines
465 B
Nix

{ lib, ... }:
{
name = "tandoor-recipes";
meta.maintainers = [ ];
nodes.machine =
{ pkgs, ... }:
{
services.tandoor-recipes = {
enable = true;
database.createLocally = true;
};
};
testScript = ''
machine.wait_for_unit("tandoor-recipes.service")
with subtest("Web interface gets ready"):
# Wait until server accepts connections
machine.wait_until_succeeds("curl -fs localhost:8080")
'';
}