2024-02-29 20:09:43 +00:00
|
|
|
import ./make-test-python.nix ({ pkgs, ...} :
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "mealie";
|
|
|
|
meta = with pkgs.lib.maintainers; {
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = [ litchipi anoa ];
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nodes = {
|
|
|
|
server = {
|
|
|
|
services.mealie = {
|
|
|
|
enable = true;
|
|
|
|
port = 9001;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
start_all()
|
|
|
|
server.wait_for_unit("mealie.service")
|
|
|
|
server.wait_for_open_port(9001)
|
|
|
|
server.succeed("curl --fail http://localhost:9001")
|
|
|
|
'';
|
|
|
|
})
|