about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJan Hrnko <jan.hrnko@satoshilabs.com>2019-11-06 16:07:18 +0100
committerJan Hrnko <jan.hrnko@satoshilabs.com>2019-11-06 16:07:18 +0100
commit71824d769c9b34da02666759d612457fc00a2f42 (patch)
tree42513cfb6b890eb8514566b500f2734ff00fa2f2 /nixos/tests
parent6868807c2ff5b0631328c5d38cb221d519c731d9 (diff)
downloadnixlib-71824d769c9b34da02666759d612457fc00a2f42.tar
nixlib-71824d769c9b34da02666759d612457fc00a2f42.tar.gz
nixlib-71824d769c9b34da02666759d612457fc00a2f42.tar.bz2
nixlib-71824d769c9b34da02666759d612457fc00a2f42.tar.lz
nixlib-71824d769c9b34da02666759d612457fc00a2f42.tar.xz
nixlib-71824d769c9b34da02666759d612457fc00a2f42.tar.zst
nixlib-71824d769c9b34da02666759d612457fc00a2f42.zip
nixos/roundcube: port test to python
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/roundcube.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix
index ed0ebd7dd19d..4f2560ce8c2f 100644
--- a/nixos/tests/roundcube.nix
+++ b/nixos/tests/roundcube.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
   name = "roundcube";
   meta = with pkgs.stdenv.lib.maintainers; {
     maintainers = [ globin ];
@@ -21,10 +21,10 @@ import ./make-test.nix ({ pkgs, ...} : {
   };
 
   testScript = ''
-    $roundcube->start;
-    $roundcube->waitForUnit("postgresql.service");
-    $roundcube->waitForUnit("phpfpm-roundcube.service");
-    $roundcube->waitForUnit("nginx.service");
-    $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
+    roundcube.start
+    roundcube.wait_for_unit("postgresql.service")
+    roundcube.wait_for_unit("phpfpm-roundcube.service")
+    roundcube.wait_for_unit("nginx.service")
+    roundcube.succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'")
   '';
 })