def test_suggested_column_names_with_table_dot(completer, complete_event):
 text = u'SELECT users. from users'
 position = len(u'SELECT users.')
 result = set(completer.get_completions(Document(text=text, cursor_position=position), complete_event))
 assert (set(result) == set(testdata.columns(u'users')))

def test_suggested_column_names_with_table_dot ( completer , complete_event ) : text = u'SELECT users. from users' position = len ( u'SELECT users.' ) result = set ( completer . get_completions ( Document ( text = text , cursor_position = position ) , complete_event ) ) assert ( set ( result ) == set ( testdata . columns ( u'users' ) ) )
suggest column names on table name and dot .