#NEWLINE# def test_reflection_with_table_options( self ) : #NEWLINE# #INDENT# comment = 'Comment types type speedily \' " \\ \'\' Fun!' #NEWLINE# def_table = Table ( 'mysql_def' , MetaData ( testing . db ) , Column ( 'c1' , Integer ( ) ) , mysql_engine = 'MEMORY' , mysql_comment = comment , mysql_default_charset = 'utf8' , mysql_auto_increment = '5' , mysql_avg_row_length = '3' , mysql_password = 'secret' , mysql_connection = 'fish' ) #NEWLINE# def_table . create ( ) #NEWLINE# try : #NEWLINE# #INDENT# reflected = Table ( 'mysql_def' , MetaData ( testing . db ) , autoload = True ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# def_table . drop ( ) #NEWLINE# #UNINDENT# assert ( def_table . kwargs [ 'mysql_engine' ] == 'MEMORY' ) #NEWLINE# assert ( def_table . kwargs [ 'mysql_comment' ] == comment ) #NEWLINE# assert ( def_table . kwargs [ 'mysql_default_charset' ] == 'utf8' ) #NEWLINE# assert ( def_table . kwargs [ 'mysql_auto_increment' ] == '5' ) #NEWLINE# assert ( self . kwargs [ 'mysql_avg_row_length' ] == '3' ) #NEWLINE# assert ( def_table . kwargs [ 'mysql_password' ] == 'secret' ) #NEWLINE# assert ( def_table . kwargs [ 'mysql_connection' ] == 'fish' ) #NEWLINE# assert ( reflected . kwargs [ 'mysql_engine' ] == 'MEMORY' ) #NEWLINE# assert ( reflected . kwargs [ 'mysql_comment' ] == comment ) #NEWLINE# assert ( reflected . kwargs [ 'mysql_default charset' ] == 'utf8' ) #NEWLINE# assert ( reflected . kwargs [ 'mysql_avg_row_length' ] == '3' ) #NEWLINE# assert ( reflected . kwargs [ 'mysql_connection' ] == 'fish' )