File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,41 @@ $ pip install --user --upgrade --pre libtmux
15
15
16
16
- _ Future release notes will be placed here_
17
17
18
+ ### Breaking Changes
19
+
20
+ #### Test helpers: Refactor
21
+
22
+ Test helper functionality has been split into focused modules (#XXX):
23
+
24
+ - ` libtmux.test ` module split into:
25
+ - ` libtmux.test.constants ` : Test-related constants (` TEST_SESSION_PREFIX ` , etc.)
26
+ - ` libtmux.test.environment ` : Environment variable mocking
27
+ - ` libtmux.test.random ` : Random string generation utilities
28
+ - ` libtmux.test.temporary ` : Temporary session/window management
29
+
30
+ ** Breaking** : Import paths have changed. Update imports:
31
+
32
+ ``` python
33
+ # Old (0.45.x and earlier)
34
+ from libtmux.test import (
35
+ TEST_SESSION_PREFIX ,
36
+ get_test_session_name,
37
+ get_test_window_name,
38
+ namer,
39
+ temp_session,
40
+ temp_window,
41
+ EnvironmentVarGuard,
42
+ )
43
+ ```
44
+
45
+ ``` python
46
+ # New (0.46.0+)
47
+ from libtmux.test.constants import TEST_SESSION_PREFIX
48
+ from libtmux.test.environment import EnvironmentVarGuard
49
+ from libtmux.test.random import get_test_session_name, get_test_window_name, namer
50
+ from libtmux.test.temporary import temp_session, temp_window
51
+ ```
52
+
18
53
### Development
19
54
20
55
- CI: Check for runtime dependencies (#574 )
You can’t perform that action at this time.
0 commit comments