Skip to content

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

91d4f16
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()
91d4f16
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 30, 2026 in 0s

51.43% (+0.14%) compared to 5a34cc5

View this Pull Request on Codecov

51.43% (+0.14%) compared to 5a34cc5

Details

Codecov Report

❌ Patch coverage is 54.72973% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.43%. Comparing base (5a34cc5) to head (91d4f16).

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   51.29%   51.43%   +0.14%     
==========================================
  Files          25       28       +3     
  Lines        3488     3636     +148     
  Branches      686      713      +27     
==========================================
+ Hits         1789     1870      +81     
- Misses       1404     1464      +60     
- Partials      295      302       +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.