From 4a4e3f6d4e398979fc9e743b0d7b827bebb43e38 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Fri, 29 Dec 2023 10:57:56 +0100 Subject: [PATCH] nixos/tests/prowlarr: check fo folder existance --- nixos/tests/prowlarr.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/tests/prowlarr.nix b/nixos/tests/prowlarr.nix index af669afd5700..663743546459 100644 --- a/nixos/tests/prowlarr.nix +++ b/nixos/tests/prowlarr.nix @@ -11,6 +11,8 @@ import ./make-test-python.nix ({ lib, ... }: testScript = '' machine.wait_for_unit("prowlarr.service") machine.wait_for_open_port(9696) - machine.succeed("curl --fail http://localhost:9696/") + response = machine.succeed("curl --fail http://localhost:9696/") + assert 'Prowlarr' in response, "Login page didn't load successfully" + machine.succeed("[ -d /var/lib/prowlarr ]") ''; })