summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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()