コード例 #1
0
ファイル: test_base.py プロジェクト: yuttie/panel
def test_pane_layout_properties(pane, document, comm):
    try:
        p = pane()
    except ImportError:
        pytest.skip("Dependent library could not be imported.")
    model = p.get_root(document, comm)
    check_layoutable_properties(p, model)
コード例 #2
0
ファイル: test_base.py プロジェクト: yxlaoban118/panel
def test_layout_properties(layout, document, comm):
    l = layout()
    model = l.get_root(document, comm)
    check_layoutable_properties(l, model)
コード例 #3
0
def test_widget_layout_properties(widget, document, comm):
    w = widget()
    model = w.get_root(document, comm)
    check_layoutable_properties(w, model)
コード例 #4
0
def test_pane_layout_properties(pane, document, comm):
    p = pane()
    model = p.get_root(document, comm)
    check_layoutable_properties(p, model)