def test_suggested_column_names_in_function(completer, complete_event):
    text = 'SELECT MAX( from users'
    position = len('SELECT MAX(')
    result = 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')])
Converts a finite float to a rational number, exactly.
dataset/ETHPy150Open dbcli/pgcli/tests/test_smart_completion_public_schema_only.py/test_suggested_column_names_in_function--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/Fraction.from_float