diff options
author | Marijan <marijan.petricevic94@gmail.com> | 2019-11-05 00:39:28 +0100 |
---|---|---|
committer | Marijan <marijan.petricevic@hotmail.de> | 2019-11-05 12:00:26 +0100 |
commit | 7d98a8ba77d075c3b058b2876b112ee8f0a70048 (patch) | |
tree | d037be8127466e201d9480ed34b0e9bcb7948804 /nixos/tests/simple.nix | |
parent | 16d2fccfd93228c9ce41e5c4703b54016bc83fc5 (diff) |
nixos/simple: port test to python
Diffstat (limited to 'nixos/tests/simple.nix')
-rw-r--r-- | nixos/tests/simple.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/simple.nix b/nixos/tests/simple.nix index 84c5621d962fb..3810a2cd3a582 100644 --- a/nixos/tests/simple.nix +++ b/nixos/tests/simple.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ pkgs, ...} : { +import ./make-test-python.nix ({ pkgs, ...} : { name = "simple"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ eelco ]; @@ -10,8 +10,8 @@ import ./make-test.nix ({ pkgs, ...} : { testScript = '' - startAll; - $machine->waitForUnit("multi-user.target"); - $machine->shutdown; + start_all() + machine.wait_for_unit("multi-user.target") + machine.shutdown() ''; }) |