()
| 125 | |
| 126 | |
| 127 | def test_get_html_style(): |
| 128 | expected = class="st">"color: class="cm">#7f7fbf; text-decoration-color: #7f7fbf; background-color: #800000; font-weight: bold; font-style: italic; text-decoration: underline; text-decoration: line-through; text-decoration: overline" |
| 129 | html_style = Style( |
| 130 | reverse=True, |
| 131 | dim=True, |
| 132 | color=class="st">"red", |
| 133 | bgcolor=class="st">"blue", |
| 134 | bold=True, |
| 135 | italic=True, |
| 136 | underline=True, |
| 137 | strike=True, |
| 138 | overline=True, |
| 139 | ).get_html_style() |
| 140 | print(repr(html_style)) |
| 141 | assert html_style == expected |
| 142 | |
| 143 | |
| 144 | def test_chain(): |
nothing calls this directly
no test coverage detected