1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/nixos/tests/jellyfin.nix

17 lines
365 B
Nix
Raw Normal View History

import ./make-test-python.nix ({ lib, ...}:
2019-04-28 10:02:32 +01:00
{
name = "jellyfin";
meta.maintainers = with lib.maintainers; [ minijackson ];
machine =
{ ... }:
{ services.jellyfin.enable = true; };
testScript = ''
machine.wait_for_unit("jellyfin.service")
machine.wait_for_open_port(8096)
machine.succeed("curl --fail http://localhost:8096/")
2019-04-28 10:02:32 +01:00
'';
})