(path: str, marker: str)
| 80 | |
| 81 | |
| 82 | def _markdown_paragraph_containing(path: str, marker: str) -> str: |
| 83 | value = _markdown_value_containing(path, marker) |
| 84 | normalized_marker = _normalized_markdown(marker) |
| 85 | for paragraph in re.split(r"\n\s*\n", value): |
| 86 | if normalized_marker in _normalized_markdown(paragraph): |
| 87 | return paragraph |
| 88 | raise AssertionError(f"Expected issue template paragraph containing {marker!r}") |
| 89 | |
| 90 | |
| 91 | def _supported_agent_names_from_agent_request_template() -> list[str]: |
no test coverage detected