1 import ./make-test-python.nix ({ pkgs, lib, ... }: {
3 meta = with pkgs.lib; {
4 maintainers = with maintainers; [ jojosch ];
7 nodes.machine = { pkgs, ... }: {
13 nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "unrar" ];
17 machine.wait_for_unit("sabnzbd.service")
18 machine.wait_until_succeeds(
19 "curl --fail -L http://localhost:8080/"
21 _, out = machine.execute("grep SABCTools /var/lib/sabnzbd/logs/sabnzbd.log")
23 machine.fail("grep 'SABCTools disabled: no correct version found!' /var/lib/sabnzbd/logs/sabnzbd.log")