#NEWLINE# @ pytest . mark . parametrize ( 'expression' , [ 'INSERT INTO ' , 'COPY ' , 'UPDATE ' , 'DESCRIBE ' ] ) #NEWLINE# def test_suggests_tables_views_and_schemas( expression ) : #NEWLINE# #INDENT# suggestions = suggest_type ( suggestions , expression ) #NEWLINE# assert ( set ( suggestions ) == set ( [ Table ( schema = None ) , View ( schema = None ) , Schema ( ) ] ) )