Skip to content

tests(textframe): Replace patch() with monkeypatch.setattr()

0981745
Select commit
Loading
Failed to load commit list.
Open

TextFrame: Terminal UI testing primitive with pytest/syrupy integration #613

tests(textframe): Replace patch() with monkeypatch.setattr()
0981745
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 10, 2026 in 0s

47.35% (+0.33%) compared to 3a6fb89

View this Pull Request on Codecov

47.35% (+0.33%) compared to 3a6fb89

Details

Codecov Report

❌ Patch coverage is 54.72973% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.35%. Comparing base (3a6fb89) to head (0981745).

Files with missing lines Patch % Lines
src/libtmux/textframe/core.py 59.81% 37 Missing and 6 partials ⚠️
src/libtmux/textframe/plugin.py 20.68% 22 Missing and 1 partial ⚠️
src/libtmux/pane.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
+ Coverage   47.02%   47.35%   +0.33%     
==========================================
  Files          23       26       +3     
  Lines        3296     3444     +148     
  Branches      709      736      +27     
==========================================
+ Hits         1550     1631      +81     
- Misses       1384     1444      +60     
- Partials      362      369       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.