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