()
| 549 | |
| 550 | |
| 551 | def test_export_svg_specified_unique_id() -> None: |
| 552 | expected_svg = EXPECTED_SVG.replace("terminal-3526644552", "given-id") |
| 553 | console = Console(record=True, width=100) |
| 554 | console.print( |
| 555 | "[b red on blue reverse]foo[/] [blink][link=https://example.org]Click[/link]" |
| 556 | ) |
| 557 | svg = console.export_svg(unique_id="given-id") |
| 558 | print(repr(svg)) |
| 559 | |
| 560 | assert svg == expected_svg |
| 561 | |
| 562 | |
| 563 | def test_save_svg() -> None: |
nothing calls this directly
no test coverage detected