diff --git a/tests/cli/test_hooks.py b/tests/cli/test_hooks.py new file mode 100644 index 00000000000..28c0b168b9a --- /dev/null +++ b/tests/cli/test_hooks.py @@ -0,0 +1,12 @@ +"""Tests for tmuxp's tmux(1) hooks.""" +import typing as t + +from tmuxp.cli.load import set_layout_hook + +if t.TYPE_CHECKING: + from libtmux.session import Session + + +def test_set_layout_hook(session: "Session") -> None: + """Test set_layout_hook.""" + set_layout_hook(session, "main-vertical")