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