def test_engine_param_stays(self):
    eng = testing_engine()
    isolation_level = eng.dialect.get_isolation_level(eng.connect().connection)
    level = self._non_default_isolation_level()
    ne_(isolation_level, level)
    eng = testing_engine(options=dict(isolation_level=level))
    eq_(eng.dialect.get_isolation_level(eng.connect().connection), level)
    conn = eng.connect()
    eq_(eng.dialect.get_isolation_level(conn.connection), level)
    conn.close()
    conn = eng.connect()
    eq_(eng.dialect.get_isolation_level(conn.connection), level)
    conn.close()
def test_engine_param_stays(self):
    eng = testing_engine()
    isolation_level = eng.dialect.get_isolation_level(eng.connect().connection)
    level = self._non_default_isolation_level()
    ne_(isolation_level, level)
    eng = testing_engine(options=dict(isolation_level=level))
    eq_(eng.dialect.get_isolation_level(eng.connect().connection), level)
    conn = eng.connect()
    eq_(eng.dialect.get_isolation_level(conn.connection), level)
    conn.close()
    conn = eng.connect()
    eq_(eng.dialect.get_isolation_level(conn.connection), level)
    conn.close()