def METHOD_NAME(mocker, clickhouse_connector):
    """It should return a form even if connect fails"""
    mocker.patch.object(clickhouse_driver, 'connect').side_effect = IOError
    form = ClickhouseDataSource.get_form(clickhouse_connector, current_config={})
    assert 'table' in form['properties']