Skip to content

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

Open
lwid wants to merge 1 commit into
bvanelli:mainfrom
lwid:set-column-width-in-cli-tests
Open

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

Conversation

@lwid
Copy link
Copy Markdown
Collaborator

@lwid lwid commented May 14, 2026

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
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

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

1 participant