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)
def test_layout_properties(layout, document, comm): l = layout() model = l.get_root(document, comm) check_layoutable_properties(l, model)
def test_widget_layout_properties(widget, document, comm): w = widget() model = w.get_root(document, comm) check_layoutable_properties(w, model)
def test_pane_layout_properties(pane, document, comm): p = pane() model = p.get_root(document, comm) check_layoutable_properties(p, model)