summaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_canonical.py
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-26 22:23:04 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-26 22:23:04 +0100
commitd6f4aee0ccf47dea61204f4af44d8eed2e65f96c (patch)
tree003cc0b4e1f8155ab1a6b24c5f75f8d84d1f346b /tests/test_canonical.py
parentdeb462188fc2adc168c782fca51fae746a299cca (diff)
downloaddotfiles-d6f4aee0ccf47dea61204f4af44d8eed2e65f96c.tar.gz
dotfiles-d6f4aee0ccf47dea61204f4af44d8eed2e65f96c.tar.bz2
dotfiles-d6f4aee0ccf47dea61204f4af44d8eed2e65f96c.zip
Use zsh for Canonical Zellij panes
Diffstat (limited to 'tests/test_canonical.py')
-rw-r--r--tests/test_canonical.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_canonical.py b/tests/test_canonical.py
index 1a9be82..724b922 100644
--- a/tests/test_canonical.py
+++ b/tests/test_canonical.py
@@ -150,6 +150,23 @@ class PackageTests(unittest.TestCase):
class RoleTests(unittest.TestCase):
+ def test_canonical_zellij_uses_zsh_without_changing_other_roles(self):
+ for role in ("canonical", "host", "vm"):
+ rendered = subprocess.check_output(
+ self.command(
+ role,
+ "execute-template",
+ "--file",
+ str(ROOT / "dot_config/zellij/config.kdl.tmpl"),
+ ),
+ text=True,
+ )
+ if role == "canonical":
+ self.assertIn('/.nix-profile/bin/zsh"', rendered)
+ self.assertIn('default_shell "', rendered)
+ else:
+ self.assertNotIn("default_shell", rendered)
+
def test_canonical_ghostty_has_no_window_decoration(self):
rendered = subprocess.check_output(
self.command(