MCPcopy Create free account
hub / github.com/ipython/ipython / test_html_metadata

Function test_html_metadata

IPython/core/tests/test_display.py:340–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338 nt.assert_in('src="data:video/xyz;base64,YWJj"',html)
339
340def test_html_metadata():
341 s = "<h1>Test</h1>"
342 h = display.HTML(s, metadata={"isolated": True})
343 nt.assert_equal(h._repr_html_(), (s, {"isolated": True}))
344
345def test_display_id():
346 ip = get_ipython()

Callers

nothing calls this directly

Calls 1

_repr_html_Method · 0.95

Tested by

no test coverage detected