From 33406d6cf63fe12e495381511cf6af54704d0933 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 22 Sep 2026 13:57:08 +0100 Subject: Install LXD and Workshop on the corporate laptop --- tests/test_canonical.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests') 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() -- cgit v1.3.1