v0.45.0 - test helpers overhaul
What's Changed
Breaking Changes
Test helpers: Refactor
Test helper functionality has been split into focused modules (#578):
libtmux.test
module split into:libtmux.test.constants
: Test-related constants (TEST_SESSION_PREFIX
, etc.)libtmux.test.environment
: Environment variable mockinglibtmux.test.random
: Random string generation utilitieslibtmux.test.temporary
: Temporary session/window management
Breaking: Import paths have changed. Update imports:
# Old (0.44.x and earlier)
from libtmux.test import (
TEST_SESSION_PREFIX,
get_test_session_name,
get_test_window_name,
namer,
temp_session,
temp_window,
EnvironmentVarGuard,
)
# New (0.45.0+)
from libtmux.test.constants import TEST_SESSION_PREFIX
from libtmux.test.environment import EnvironmentVarGuard
from libtmux.test.random import get_test_session_name, get_test_window_name, namer
from libtmux.test.temporary import temp_session, temp_window
Misc
CI
Full Changelog: v0.44.2...v0.45.0