Render with a single thread as a sequential baseline.
()
| 218 | |
| 219 | |
| 220 | def test_render_single_thread(): |
| 221 | """Render with a single thread as a sequential baseline.""" |
| 222 | filename = SAMPLE_PDF |
| 223 | |
| 224 | parser = _make_parser(threads=1, max_concurrent=32) |
| 225 | key = parser.load(filename) |
| 226 | |
| 227 | count = sum(1 for result in parser.iterate_results() if result.success) |
| 228 | assert count == parser.page_count(key) |
| 229 | |
| 230 | |
| 231 | def test_get_image_raises_without_rendering(): |
nothing calls this directly
no test coverage detected