diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-07-19 23:54:04 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-07-19 23:54:04 +0200 |
commit | 004c229ca44c069d93c92abf67ff1619fb508c6a (patch) | |
tree | 766bd1aaaff2da70f7947c6fa2b7a7f436998b9e | |
parent | f535d8123c4761b2ed8138f3d202ea710a334a1d (diff) |
Convert minimal test to python test driver
-rw-r--r-- | tests/minimal.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/minimal.nix b/tests/minimal.nix index 7327f55..88cb276 100644 --- a/tests/minimal.nix +++ b/tests/minimal.nix @@ -14,9 +14,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> -import <nixpkgs/nixos/tests/make-test.nix> { +import <nixpkgs/nixos/tests/make-test-python.nix> { - machine = + nodes.machine = { config, pkgs, ... }: { imports = [ @@ -26,6 +26,6 @@ import <nixpkgs/nixos/tests/make-test.nix> { testScript = '' - $machine->waitForUnit("multi-user.target"); + machine.wait_for_unit("multi-user.target"); ''; } |