(rel: str)
| 34 | |
| 35 | |
| 36 | def _read(rel: str) -> str: |
| 37 | p = PROJECT_ROOT / rel |
| 38 | if not p.exists(): |
| 39 | pytest.skip(f"找不到 {rel},跳过守护检查") |
| 40 | return p.read_text(encoding="utf-8") |
| 41 | |
| 42 | |
| 43 | class TestWebGitCwdGuard: |
no outgoing calls
no test coverage detected