Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /ViperJuice_Code-Index-MCP /tests /performance /conftest.py
| """Skip document performance tests unless explicitly opted in via environment variable.""" | |
| import os | |
| import pytest | |
| def pytest_collection_modifyitems(config, items): | |
| """Skip document performance tests unless RUN_PERFORMANCE_TESTS=1 is set.""" | |
| if os.getenv("RUN_PERFORMANCE_TESTS", "0") == "1": | |
| return | |
| skip_marker = pytest.mark.skip( | |
| reason="Performance tests skipped; set RUN_PERFORMANCE_TESTS=1 to run" | |
| ) | |
| for item in items: | |
| if "performance" in str(item.fspath) and "document" in str(item.fspath): | |
| item.add_marker(skip_marker) | |
Xet Storage Details
- Size:
- 586 Bytes
- Xet hash:
- eee7c059ec63c0afe8b353908495606b7c5e659e9be31d85701267f9da28aa78
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.