Sets every variable to something other than the default.
(monkeypatch: pytest.MonkeyPatch)
| 301 | |
| 302 | @pytest.fixture |
| 303 | def every_env(monkeypatch: pytest.MonkeyPatch) -> None: |
| 304 | """Sets every variable to something other than the default.""" |
| 305 | monkeypatch.setenv(ENV, "false") |
| 306 | monkeypatch.setenv(PROPAGATION_ENV, "false") |
| 307 | monkeypatch.setenv(f"{ENV}_TRACES_CONTENT_MODE", "content") |
| 308 | monkeypatch.setenv(f"{ENV}_TRACES_MAX_CONTENT_BYTES", "300") |
| 309 | |
| 310 | |
| 311 | @pytest.mark.usefixtures("every_env") |
nothing calls this directly
no outgoing calls
no test coverage detected