From 9e48d7f5626aa966a23754534f3120855d6a7c32 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 01:50:56 +0900 Subject: hst/config: move container fields from toplevel This change also moves pd behaviour to cmd/hakurei, as this does not belong in the hst API. Signed-off-by: Ophestra --- cmd/hpkg/test/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/hpkg/test/test.py') diff --git a/cmd/hpkg/test/test.py b/cmd/hpkg/test/test.py index d491def3..e2a002d6 100644 --- a/cmd/hpkg/test/test.py +++ b/cmd/hpkg/test/test.py @@ -62,11 +62,11 @@ def check_state(name, enablements): config = instance['config'] - if len(config['args']) != 1 or not (config['args'][0].startswith("/nix/store/")) or f"hakurei-{name}-" not in (config['args'][0]): - raise Exception(f"unexpected args {instance['config']['args']}") + if len(config['container']['args']) != 1 or not (config['container']['args'][0].startswith("/nix/store/")) or f"hakurei-{name}-" not in (config['container']['args'][0]): + raise Exception(f"unexpected args {config['container']['args']}") if config['enablements'] != enablements: - raise Exception(f"unexpected enablements {instance['config']['enablements']}") + raise Exception(f"unexpected enablements {config['enablements']}") start_all() -- cgit v1.3.1