diff options
| -rw-r--r-- | scripts/canonical.py | 4 | ||||
| -rw-r--r-- | tests/test_canonical.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/canonical.py b/scripts/canonical.py index 6fd83d6..7e6565f 100644 --- a/scripts/canonical.py +++ b/scripts/canonical.py @@ -101,8 +101,8 @@ def check(lab: bool = False) -> None: ["systemctl", "is-active", unit] for unit in ["display-manager", "snapd", "apparmor"] ], - ["nix", "store", "ping", "--store", "daemon"], - *([] if lab else [["landscape-config", "--actively-registered"]]), + ["nix", "store", "info", "--store", "daemon"], + *([] if lab else [["sudo", "landscape-config", "--actively-registered"]]), ["snap", "connections", "thunderbird"], ["snap", "list", *packages("snap")], ["gnome-extensions", "list", "--enabled"], diff --git a/tests/test_canonical.py b/tests/test_canonical.py index c68bd48..76c61d1 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -69,13 +69,13 @@ class PackageTests(unittest.TestCase): canonical.check() self.assertTrue( any( - call.args[0] == ["landscape-config", "--actively-registered"] + call.args[0] == ["sudo", "landscape-config", "--actively-registered"] for call in command.call_args_list ) ) self.assertTrue( any( - call.args[0] == ["nix", "store", "ping", "--store", "daemon"] + call.args[0] == ["nix", "store", "info", "--store", "daemon"] for call in command.call_args_list ) ) |
