Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-02-23 | 1.5 kB | |
v0.45.0 - test helpers overhaul source code.tar.gz | 2025-02-23 | 329.7 kB | |
v0.45.0 - test helpers overhaul source code.zip | 2025-02-23 | 374.6 kB | |
Totals: 3 Items | 705.8 kB | 0 |
What's Changed
Breaking Changes
Test helpers: Refactor
by @tony in https://github.com/tmux-python/libtmux/pull/578
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:
:::python
# 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,
)
:::python
# 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
- Cursor rules: Add Cursor Rules for Development and Git Commit Standards by @tony in https://github.com/tmux-python/libtmux/pull/575
CI
- tests(ci) Check runtime deps import correctly by @tony in https://github.com/tmux-python/libtmux/pull/574
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.44.2...v0.45.0