diff options
| author | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-18 16:39:53 +0100 |
|---|---|---|
| committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-18 16:39:53 +0100 |
| commit | caa840ce251c2c867883ad117f2c4801848f22e9 (patch) | |
| tree | b49ca56a5de1ae0db5add8330f7a501e3626b59b /tests/test_canonical.py | |
| parent | d0ae1b28061f7e49358b34135c4c8f2cb81f08b8 (diff) | |
| download | dotfiles-caa840ce251c2c867883ad117f2c4801848f22e9.tar.gz dotfiles-caa840ce251c2c867883ad117f2c4801848f22e9.tar.bz2 dotfiles-caa840ce251c2c867883ad117f2c4801848f22e9.zip | |
Run the Landscape status check with sudo
Diffstat (limited to 'tests/test_canonical.py')
| -rw-r--r-- | tests/test_canonical.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) ) |
