nixos/simple: port test to python

This commit is contained in:
Marijan 2019-11-05 00:39:28 +01:00 committed by Marijan
parent 16d2fccfd9
commit 7d98a8ba77

View file

@ -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()
'';
})