diff options
Diffstat (limited to 'cmd/hpkg/test')
| -rw-r--r-- | cmd/hpkg/test/test.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |
