summaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_canonical.py
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-22 13:57:08 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-22 13:57:08 +0100
commit33406d6cf63fe12e495381511cf6af54704d0933 (patch)
tree9b1bc92b2b5ee25943b3bfa34b70df47ca04dd19 /tests/test_canonical.py
parent8911e74cfdf10a7f4b57c4f88646ff962b6565ff (diff)
downloaddotfiles-33406d6cf63fe12e495381511cf6af54704d0933.tar.gz
dotfiles-33406d6cf63fe12e495381511cf6af54704d0933.tar.bz2
dotfiles-33406d6cf63fe12e495381511cf6af54704d0933.zip
Install LXD and Workshop on the corporate laptop
Diffstat (limited to 'tests/test_canonical.py')
-rw-r--r--tests/test_canonical.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/test_canonical.py b/tests/test_canonical.py
index 018d813..848bf6c 100644
--- a/tests/test_canonical.py
+++ b/tests/test_canonical.py
@@ -97,7 +97,17 @@ class PackageTests(unittest.TestCase):
["sudo", "snap", "install", "ghostty", "--channel=stable", "--classic"],
commands,
)
- self.assertEqual(sum("--classic" in command for command in commands), 1)
+ self.assertIn(
+ ["sudo", "snap", "install", "workshop", "--channel=stable", "--classic"],
+ commands,
+ )
+ self.assertEqual(sum("--classic" in command for command in commands), 2)
+
+ def test_lxd_uses_workshop_supported_track(self):
+ self.assertIn(
+ ["sudo", "snap", "install", "lxd", "--channel=6/stable"],
+ canonical.snap_install_commands(),
+ )
def test_flatpaks_are_user_scoped(self):
commands = canonical.flatpak_install_commands()