def METHOD_NAME():
    class Root(EmptyFlow):
        def configure_layout(self):
            return [{"name": "one", "content": [1, 2, 3]}]
    root = Root()
    with pytest.raises(
        ValueError,
        match=escape("A dictionary returned by `Root.configure_layout()"),
    ):
        LightningApp(root)