From 82fcf44d9ff45aabbb00d5dd2c27aac377e1296d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 28 Oct 2026 11:34:18 +0100 Subject: tests/taskchampion-sync: Update to new `runTest` function --- tests/by-name/ta/taskchampion-sync/test.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'tests/by-name') diff --git a/tests/by-name/ta/taskchampion-sync/test.nix b/tests/by-name/ta/taskchampion-sync/test.nix index 3878167..54eef45 100644 --- a/tests/by-name/ta/taskchampion-sync/test.nix +++ b/tests/by-name/ta/taskchampion-sync/test.nix @@ -1,11 +1,5 @@ { - nixos-lib, - pkgsUnstable, - nixpkgs-unstable, - vhackPackages, pkgs, - extraModules, - nixLib, vhack, ... }: @@ -22,12 +16,6 @@ vhack.runTest { }); in { server = {config, ...}: { - imports = - extraModules - ++ [ - ../../../../modules - ]; - vhack = { persist.enable = true; nginx.enable = true; @@ -54,6 +42,10 @@ vhack.runTest { {server = "taskchampion-sync-server.service";} ]; + ports = [ + {server = 443;} + ]; + testScript = {nodes, ...}: let # Generated with uuidgen uuid = "bf01376e-04a4-435a-9263-608567531af3"; @@ -71,8 +63,6 @@ vhack.runTest { in # Python '' - server.wait_for_open_port(443) - with subtest("Setup task syncing"): for task in [task_client1, task_client2]: # See man task-sync(5) -- cgit v1.3.1