Skip to content

Explicitly set terminal width to 120 in test to ensure that no truncation occurs#204

Merged
lwid merged 1 commit into
bvanelli:mainfrom
lwid:set-column-width-in-cli-tests
May 19, 2026
Merged

Explicitly set terminal width to 120 in test to ensure that no truncation occurs#204
lwid merged 1 commit into
bvanelli:mainfrom
lwid:set-column-width-in-cli-tests

Conversation

@lwid

@lwid lwid commented May 14, 2026

Copy link
Copy Markdown
Collaborator

test_envelope_budget and test_tracking_budget in test_cli have been failing for a long time on Windows due to the output being truncated since pytest defaults to a 80 character wide terminal.

This PR sets the terminal width to 120 to ensure that it is consistent no matter which underlying OS/terminal is used resulting in all test cases passing cleanly again.

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.62%. Comparing base (ed23919) to head (0e8c708).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #204   +/-   ##
=======================================
  Coverage   97.62%   97.62%           
=======================================
  Files          21       21           
  Lines        3237     3237           
=======================================
  Hits         3160     3160           
  Misses         77       77           

☔ 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.

@lwid lwid requested a review from bvanelli May 14, 2026 06:02

@bvanelli bvanelli left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lwid lwid merged commit 4a6f852 into bvanelli:main May 19, 2026
9 checks passed
@lwid lwid deleted the set-column-width-in-cli-tests branch May 19, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants