fix(console): print all console output at the terminal width when wide_output is on

This commit is contained in:
imSp4rky
2026-12-05 20:42:34 -07:00
parent bd178bc3af
commit 2ee4e25742
6 changed files with 81 additions and 18 deletions
+6
View File
@@ -77,6 +77,12 @@ def no_worker_handlers(monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setattr(console, "_notice_handler", None)
@pytest.fixture(autouse=True)
def fixed_console_width(monkeypatch: pytest.MonkeyPatch) -> None:
"""Hold the shared console at 80 columns, whatever the terminal and the user's ``wide_output``."""
monkeypatch.setattr(console.console, "_width", 80)
@pytest.fixture(autouse=True)
def fresh_proxy_catalogues() -> None:
"""Fetch each proxy provider catalogue again, so one test's stub never answers another test."""