MCPcopy Create free account
hub / github.com/datapane/datapane / test_gen_view_single

Function test_gen_view_single

python-client/tests/client/views/test_views.py:156–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154################################################################################
155# View Tests
156def test_gen_view_single():
157 # view with single block
158 view = dp.Blocks("test block")
159 assert_view(view, 0)
160 assert len(view.blocks) == 1
161 assert isinstance(view.blocks[0], dp.Text)
162
163
164def test_gen_view_simple():

Callers

nothing calls this directly

Calls 1

assert_viewFunction · 0.85

Tested by

no test coverage detected