Skip to content

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

9791daa
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()
9791daa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 26, 2026 in 1s

47.06% (+0.47%) compared to 81d55fa

View this Pull Request on Codecov

47.06% (+0.47%) compared to 81d55fa

Details

Codecov Report

❌ Patch coverage is 54.72973% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.06%. Comparing base (81d55fa) to head (9791daa).

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   46.58%   47.06%   +0.47%     
==========================================
  Files          22       25       +3     
  Lines        2372     2520     +148     
  Branches      390      417      +27     
==========================================
+ Hits         1105     1186      +81     
- Misses       1098     1158      +60     
- Partials      169      176       +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.