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

Function test_gen_view_simple

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

Source from the content-addressed store, hash-verified

162
163
164def test_gen_view_simple():
165 view = gen_view_simple()
166 assert_view(view, 0, 2)
167 # TODO - replace accessors here with glom / boltons / toolz
168 assert len(view.blocks) == 2
169 assert isinstance(view.blocks[1], dp.Text)
170 assert view.blocks[0].name == "test-id-1"
171
172
173def test_gen_view_nested_mixed():

Callers

nothing calls this directly

Calls 2

gen_view_simpleFunction · 0.85
assert_viewFunction · 0.85

Tested by

no test coverage detected