def METHOD_NAME(test, cell_selectable):
    app = dash.Dash(__name__)
    app.layout = DataTable(
        id="table",
        columns=[dict(id="a", name="a"), dict(id="b", name="b")],
        data=[dict(a=0, b=0), dict(a=1, b=2)],
        cell_selectable=cell_selectable,
    )
    test.start_server(app)
    target = test.table("table")
    target.cell(0, "a").click()
    assert target.cell(0, "a").is_selected() == cell_selectable
    assert test.get_log_errors() == []