Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/cli/test_hooks.py
Original file line number Diff line number Diff line change
@@ -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")