Debian Codegraph @

tests/conftest.py

raw
1 import pytest
2
3
4 @pytest.fixture(autouse=True)
5 def reset_color_envvars(monkeypatch):
6 """Remove color-related envvars to fix test output"""
7 monkeypatch.delenv("FORCE_COLOR", raising=False)
8 monkeypatch.delenv("NO_COLOR", raising=False)