about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-13 22:15:37 +0100
committerGitHub <noreply@github.com>2019-11-13 22:15:37 +0100
commit01e280aa440179b6bd7deeb1cf00337a591dd1a7 (patch)
tree3f2c57292633247c302a1963983b9478dfd40fe2 /nixos
parentf74aafc9e6a974f5d9329b4068337b839d297af8 (diff)
parent40297480158e3b2fd40f84f314cc0e2f516ce961 (diff)
downloadnixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar.gz
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar.bz2
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar.lz
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar.xz
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.tar.zst
nixlib-01e280aa440179b6bd7deeb1cf00337a591dd1a7.zip
Merge pull request #73064 from minijackson/jellyfin-things
jellyfin: update to 10.4.1, port test to python
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/jellyfin.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/jellyfin.nix b/nixos/tests/jellyfin.nix
index b60c6eb94f46..65360624d487 100644
--- a/nixos/tests/jellyfin.nix
+++ b/nixos/tests/jellyfin.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ lib, ...}:
+import ./make-test-python.nix ({ lib, ...}:
 
 {
   name = "jellyfin";
@@ -9,8 +9,8 @@ import ./make-test.nix ({ lib, ...}:
     { services.jellyfin.enable = true; };
 
   testScript = ''
-    $machine->waitForUnit('jellyfin.service');
-    $machine->waitForOpenPort('8096');
-    $machine->succeed("curl --fail http://localhost:8096/");
+    machine.wait_for_unit("jellyfin.service")
+    machine.wait_for_open_port(8096)
+    machine.succeed("curl --fail http://localhost:8096/")
   '';
 })