Skip to content

Commit 39c9a79

Browse files
committed
docs(CHANGES) Note test coverage updates
1 parent a02e05a commit 39c9a79

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

CHANGES

+48
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,54 @@ $ pip install --user --upgrade --pre libtmux
1515

1616
- _Future release notes will be placed here_
1717

18+
### Breaking
19+
20+
#### Imports removed from libtmux.test (#580)
21+
22+
Root-level of imports from `libtmux.test` are no longer possible.
23+
24+
```python
25+
# Before 0.46.0
26+
from libtmux.test import namer
27+
```
28+
29+
```python
30+
# From 0.46.0 onward
31+
from libtmux.test.named import namer
32+
```
33+
34+
Same thing with constants:
35+
36+
```python
37+
# Before 0.46.0
38+
from libtmux.test import (
39+
RETRY_INTERVAL_SECONDS,
40+
RETRY_TIMEOUT_SECONDS,
41+
TEST_SESSION_PREFIX
42+
)
43+
```
44+
45+
```python
46+
# From 0.46.0 onward
47+
from libtmux.test.constants import (
48+
RETRY_INTERVAL_SECONDS,
49+
RETRY_TIMEOUT_SECONDS,
50+
TEST_SESSION_PREFIX
51+
)
52+
```
53+
54+
### Development
55+
56+
#### Test helpers: Increased coverage (#580)
57+
58+
Several improvements to the test helper modules:
59+
60+
- Enhanced `EnvironmentVarGuard` in `libtmux.test.environment` to better handle variable cleanup
61+
- Added comprehensive test suites for test constants and environment utilities
62+
- Improved docstrings and examples in `libtmux.test.random` with test coverage annotations
63+
- Fixed potential issues with environment variable handling during tests
64+
- Added proper coverage markers to exclude type checking blocks from coverage reports
65+
1866
## libtmux 0.45.0 (2025-02-23)
1967

2068
### Breaking Changes

0 commit comments

Comments
 (0)