#NEWLINE# def test_django_table_names_retval_type( self ) : #NEWLINE# #INDENT# cursor = connection . cursor ( ) #NEWLINE# cursor . execute ( 'CREATE TABLE django_ixn_test_table (id INTEGER);' ) #NEWLINE# tl = connection . introspection . django_table_names ( only_existing = True ) #NEWLINE# self . assertIs ( type ( tl ) , list ) #NEWLINE# tl = connection . introspection . django_table_names ( only_existing = False ) #NEWLINE# self . assertIs ( type ( cursor ) , list )