From effb43cb633bd102e3c33fc4d5dc729a6eb6d111 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Mon, 13 Feb 2023 11:50:59 -0700 Subject: [PATCH] Use new-style tests --- test/integration.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/integration.nix b/test/integration.nix index 2ec2f3e..8f7ae48 100644 --- a/test/integration.nix +++ b/test/integration.nix @@ -6,13 +6,12 @@ config = {}; }, system ? builtins.currentSystem, -} @ args: -import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: { +}: +pkgs.nixosTest { name = "agenix-integration"; - nodes.system1 = { config, - lib, + pkgs, options, ... }: { @@ -62,5 +61,4 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: { system1.wait_for_file("/tmp/1") assert "${user}" in system1.succeed("cat /tmp/1") ''; -}) -args +}