MCPcopy
hub / github.com/Textualize/rich / test_get_style_error

Function test_get_style_error

tests/test_console.py:362–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360
361
362def test_get_style_error() -> None:
363 console = Console()
364 with pytest.raises(errors.MissingStyle):
365 console.get_style("nosuchstyle")
366 with pytest.raises(errors.MissingStyle):
367 console.get_style("foo bar")
368
369
370def test_render_error() -> None:

Callers

nothing calls this directly

Calls 2

get_styleMethod · 0.95
ConsoleClass · 0.90

Tested by

no test coverage detected