def test_suggested_column_names_with_table_dot(completer, complete_event):
    text = 'SELECT users. from users'
    position = len('SELECT users.')
    result = set(completer.get_completions(
        Document(text=text, cursor_position=position),
        complete_event))
    assert set(result) == set([
        Completion(text='*', start_position=0, display_meta='column'),
        Completion(text='id', start_position=0, display_meta='column'),
        Completion(text='email', start_position=0, display_meta='column'),
        Completion(text='first_name', start_position=0, display_meta='column'),
        Completion(text='last_name', start_position=0, display_meta='column')])
Accepts a string of code or a list of code lines
dataset/ETHPy150Open dbcli/pgcli/tests/test_smart_completion_public_schema_only.py/test_suggested_column_names_with_table_dot--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/printing/ccode.py/CCodePrinter.indent_code