Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /SHAdd0WTAka_Zen-Ai-Pentest /scripts /check_test_naming.py
| #!/usr/bin/env python3 | |
| """Placeholder test naming convention checker.""" | |
| import sys | |
| from pathlib import Path | |
| def main() -> int: | |
| errors = 0 | |
| for path in Path("tests").rglob("test_*.py"): | |
| if not path.name.startswith("test_"): | |
| print(f"ERROR: {path} does not start with 'test_'") | |
| errors += 1 | |
| if errors: | |
| print(f"Found {errors} test naming issues") | |
| return 1 | |
| print("Test naming OK") | |
| return 0 | |
| if __name__ == "__main__": | |
| sys.exit(main()) | |
Xet Storage Details
- Size:
- 505 Bytes
- Xet hash:
- 23171a005fa1d66b1f3dbe1a07bcc0ec87e4029f10a66ad38a17d1a176d53ea2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.