summaryrefslogtreecommitdiffstats
path: root/nixos/tests/cfssl.nix
diff options
context:
space:
mode:
authorMarijan <marijan.petricevic@hotmail.de>2019-11-06 18:39:14 +0100
committerMarijan Petricevic <marijan.petricevic94@gmail.com>2019-11-07 10:51:04 +0100
commite05f546f3ac6633db1c24ae165f2322806ece31d (patch)
tree3bd9e93d7ec0fff1b7f8591e3a25581e29db0f39 /nixos/tests/cfssl.nix
parent63cb143801eb3dca9d6712bb95d22db54bd17fa4 (diff)
nixos/cfssl: port test to python
Diffstat (limited to 'nixos/tests/cfssl.nix')
-rw-r--r--nixos/tests/cfssl.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/cfssl.nix b/nixos/tests/cfssl.nix
index 513ed8c45741..e291fc285fba 100644
--- a/nixos/tests/cfssl.nix
+++ b/nixos/tests/cfssl.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "cfssl";
machine = { config, lib, pkgs, ... }:
@@ -60,8 +60,8 @@ import ./make-test.nix ({ pkgs, ...} : {
});
in
''
- $machine->waitForUnit('cfssl.service');
- $machine->waitUntilSucceeds('${cfsslrequest}');
- $machine->succeed('ls /tmp/certificate-key.pem');
+ machine.wait_for_unit("cfssl.service")
+ machine.wait_until_succeeds("${cfsslrequest}")
+ machine.succeed("ls /tmp/certificate-key.pem")
'';
})