Skip to content

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

e9b35a9
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()
e9b35a9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 14, 2025 in 0s

45.97% (+0.57%) compared to 37812a7

View this Pull Request on Codecov

45.97% (+0.57%) compared to 37812a7

Details

Codecov Report

❌ Patch coverage is 54.72973% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.97%. Comparing base (37812a7) to head (e9b35a9).

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   45.39%   45.97%   +0.57%     
==========================================
  Files          22       25       +3     
  Lines        2249     2397     +148     
  Branches      360      387      +27     
==========================================
+ Hits         1021     1102      +81     
- Misses       1082     1142      +60     
- Partials      146      153       +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.