MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / consistent_terminal_output

Function consistent_terminal_output

tests/conftest.py:327–334  ·  view source on GitHub ↗

Force consistent terminal output.

(monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

325
326@pytest.fixture
327def consistent_terminal_output(monkeypatch: pytest.MonkeyPatch):
328 """Force consistent terminal output."""
329 monkeypatch.setenv("COLUMNS", "80")
330 monkeypatch.setenv("TERM", "dumb")
331 monkeypatch.setenv("LC_ALL", "C")
332 monkeypatch.setenv("LANG", "C")
333 monkeypatch.setenv("NO_COLOR", "1")
334 monkeypatch.setenv("PAGER", "cat")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected