()
| 329 | |
| 330 | |
| 331 | def test_styling(): |
| 332 | sio = io.StringIO() |
| 333 | |
| 334 | d = dumper.Dumper(sio) |
| 335 | d.out_has_vt_codes = True |
| 336 | with taddons.context(d): |
| 337 | d.response(tflow.tflow(resp=True)) |
| 338 | assert "\x1b[" in sio.getvalue() |
| 339 | |
| 340 | |
| 341 | def test_has_styles_for_tags(): |