Spaces:
Running
Running
Download tests/contracts/test_issue_forms.py from dherain24/claude-proxy: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/spaces/dherain24/claude-proxy/resolve/main/tests/contracts/test_issue_forms.py
- Command line
-
hf download hf://spaces/dherain24/claude-proxy/tests/contracts/test_issue_forms.py
-
curl -L -o test_issue_forms.py https://huggingface.co/spaces/dherain24/claude-proxy/resolve/main/tests/contracts/test_issue_forms.py
492 Bytes
| from pathlib import Path | |
| import pytest | |
| def test_issue_forms_classify_with_labels_not_title_prefixes( | |
| filename: str, | |
| label: str, | |
| ) -> None: | |
| form = Path(".github/ISSUE_TEMPLATE", filename).read_text(encoding="utf-8") | |
| assert f" - {label}" in form | |
| assert not any(line.startswith("title:") for line in form.splitlines()) | |