(n_chunks: int = 2)
| 189 | |
| 190 | |
| 191 | def _make_prepared(n_chunks: int = 2) -> PreparedFile: |
| 192 | return PreparedFile( |
| 193 | synopsis="test tool", |
| 194 | aliases=[("dummy", 10)], |
| 195 | original_lines=_ORIGINAL_LINES, |
| 196 | basename="dummy", |
| 197 | numbered_text=" 1| **-a**\n 2| ...", |
| 198 | plain_text_len=len(_PLAIN_TEXT), |
| 199 | plain_text=_PLAIN_TEXT, |
| 200 | requests=["chunk0 content", "chunk1 content"][:n_chunks], |
| 201 | ) |
| 202 | |
| 203 | |
| 204 | _CHUNK0_JSON = ( |
no test coverage detected