Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /nfraxlab_svc-infra /tests /unit /cli /conftest.py
| """Fixtures for CLI tests. | |
| Disables Rich console styling to ensure consistent output across environments. | |
| """ | |
| from __future__ import annotations | |
| import pytest | |
| def disable_rich_colors(monkeypatch): | |
| """Disable Rich colors/styling for consistent CLI output in CI. | |
| Rich terminal detection behaves differently in CI (no TTY) vs local, | |
| causing help text assertions to fail. Setting NO_COLOR ensures plain text output. | |
| """ | |
| monkeypatch.setenv("NO_COLOR", "1") | |
| monkeypatch.setenv("TERM", "dumb") | |
Xet Storage Details
- Size:
- 547 Bytes
- Xet hash:
- 3078b9c20926bf75659cec3a817aed56ecd30e7cf7f8ff82a870f5ec747e2d96
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.