Link IDs have a random ID and system path which is a problem for reproducible tests.
(render: str)
| 8 | |
| 9 | |
| 10 | def replace_link_ids(render: str) -> str: |
| 11 | """Link IDs have a random ID and system path which is a problem for |
| 12 | reproducible tests. |
| 13 | |
| 14 | """ |
| 15 | return re_link_ids.sub("id=0;foo\x1b", render) |
| 16 | |
| 17 | |
| 18 | def render(renderable: RenderableType, no_wrap: bool = False) -> str: |
no outgoing calls